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 \ V1Methods
__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 |
RagVectorDbConfig\RagManagedDb|null |
hasRagManagedDb
setRagManagedDb
The config for the RAG-managed Vector DB.
Parameter | |
---|---|
Name | Description |
var |
RagVectorDbConfig\RagManagedDb
|
Returns | |
---|---|
Type | Description |
$this |
getPinecone
The config for the Pinecone.
Returns | |
---|---|
Type | Description |
RagVectorDbConfig\Pinecone|null |
hasPinecone
setPinecone
The config for the Pinecone.
Parameter | |
---|---|
Name | Description |
var |
RagVectorDbConfig\Pinecone
|
Returns | |
---|---|
Type | Description |
$this |
getVertexVectorSearch
The config for the Vertex Vector Search.
Returns | |
---|---|
Type | Description |
RagVectorDbConfig\VertexVectorSearch|null |
hasVertexVectorSearch
setVertexVectorSearch
The config for the Vertex Vector Search.
Parameter | |
---|---|
Name | Description |
var |
RagVectorDbConfig\VertexVectorSearch
|
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 |
ApiAuth
|
Returns | |
---|---|
Type | Description |
$this |
getRagEmbeddingModelConfig
Optional. Immutable. The embedding model config of the Vector DB.
Returns | |
---|---|
Type | Description |
RagEmbeddingModelConfig|null |
hasRagEmbeddingModelConfig
clearRagEmbeddingModelConfig
setRagEmbeddingModelConfig
Optional. Immutable. The embedding model config of the Vector DB.
Parameter | |
---|---|
Name | Description |
var |
RagEmbeddingModelConfig
|
Returns | |
---|---|
Type | Description |
$this |
getVectorDb
Returns | |
---|---|
Type | Description |
string |