Google Cloud Ai Platform V1 Client - Class RagVectorDbConfig (1.20.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class RagVectorDbConfig.

Config for the Vector DB to use for RAG.

Generated from protobuf message google.cloud.aiplatform.v1.RagVectorDbConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ rag_managed_db
RagVectorDbConfig\RagManagedDb

The config for the RAG-managed Vector DB.

↳ pinecone
RagVectorDbConfig\Pinecone

The config for the Pinecone.

↳ vertex_vector_search
RagVectorDbConfig\VertexVectorSearch

The config for the Vertex Vector Search.

↳ api_auth
ApiAuth

Authentication config for the chosen Vector DB.

↳ rag_embedding_model_config
RagEmbeddingModelConfig

Optional. Immutable. The embedding model config of the Vector DB.

getRagManagedDb

The config for the RAG-managed Vector DB.

Returns
Type
Description

hasRagManagedDb

setRagManagedDb

The config for the RAG-managed Vector DB.

Parameter
Name
Description
Returns
Type
Description
$this

getPinecone

The config for the Pinecone.

Returns
Type
Description

hasPinecone

setPinecone

The config for the Pinecone.

Parameter
Name
Description
Returns
Type
Description
$this

getVertexVectorSearch

The config for the Vertex Vector Search.

Returns
Type
Description

hasVertexVectorSearch

setVertexVectorSearch

The config for the Vertex Vector Search.

Parameter
Name
Description
Returns
Type
Description
$this

getApiAuth

Authentication config for the chosen Vector DB.

Returns
Type
Description
ApiAuth |null

hasApiAuth

clearApiAuth

setApiAuth

Authentication config for the chosen Vector DB.

Parameter
Name
Description
var
Returns
Type
Description
$this

getRagEmbeddingModelConfig

Optional. Immutable. The embedding model config of the Vector DB.

Returns
Type
Description

hasRagEmbeddingModelConfig

clearRagEmbeddingModelConfig

setRagEmbeddingModelConfig

Optional. Immutable. The embedding model config of the Vector DB.

Parameter
Name
Description
Returns
Type
Description
$this

getVectorDb

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: