Skip to main content

rag_engine_config

Creates, updates, deletes, gets or lists a rag_engine_config resource.

Overview

Namerag_engine_config
TypeResource
Idgoogle.aiplatform.rag_engine_config

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. The name of the RagEngineConfig. Format: projects/{project}/locations/{location}/ragEngineConfig
ragManagedDbConfigobjectThe config of the RagManagedDb used by RagEngine. (id: GoogleCloudAiplatformV1RagManagedDbConfig)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_rag_engine_configselectprojectsId, locationsIdGets a RagEngineConfig.
update_rag_engine_configupdateprojectsId, locationsIdUpdates 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.

NameDatatypeDescription
locationsIdstring
projectsIdstring

SELECT examples

Gets a RagEngineConfig.

SELECT
name,
ragManagedDbConfig
FROM google.aiplatform.rag_engine_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required;

UPDATE examples

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;