rag_engine_config
Creates, updates, deletes, gets or lists a rag_engine_config
resource.
Overview
Name | rag_engine_config |
Type | Resource |
Id | google.aiplatform.rag_engine_config |
Fields
The following fields are returned by SELECT
queries:
- get_rag_engine_config
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The name of the RagEngineConfig. Format: projects/{project}/locations/{location}/ragEngineConfig |
ragManagedDbConfig | object | The config of the RagManagedDb used by RagEngine. (id: GoogleCloudAiplatformV1RagManagedDbConfig) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_rag_engine_config | select | projectsId , locationsId | Gets a RagEngineConfig. | |
update_rag_engine_config | update | projectsId , locationsId | Updates a RagEngineConfig. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string |
SELECT
examples
- get_rag_engine_config
Gets a RagEngineConfig.
SELECT
name,
ragManagedDbConfig
FROM google.aiplatform.rag_engine_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required;
UPDATE
examples
- update_rag_engine_config
Updates a RagEngineConfig.
UPDATE google.aiplatform.rag_engine_config
SET
data__name = '{{ name }}',
data__ragManagedDbConfig = '{{ ragManagedDbConfig }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
RETURNING
name,
done,
error,
metadata,
response;