Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb.
The config for the default RAG-managed Vector DB.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ann
def ann() -> ::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::ANN
-
(::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::ANN) — Performs an ANN search on RagCorpus. Use this if you have a lot of
files (> 10K) in your RagCorpus and want to reduce the search latency.
Note: The following fields are mutually exclusive:
ann
,knn
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ann=
def ann=(value) -> ::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::ANN
-
value (::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::ANN) — Performs an ANN search on RagCorpus. Use this if you have a lot of
files (> 10K) in your RagCorpus and want to reduce the search latency.
Note: The following fields are mutually exclusive:
ann
,knn
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::ANN) — Performs an ANN search on RagCorpus. Use this if you have a lot of
files (> 10K) in your RagCorpus and want to reduce the search latency.
Note: The following fields are mutually exclusive:
ann
,knn
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#knn
def knn() -> ::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::KNN
-
(::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::KNN) — Performs a KNN search on RagCorpus.
Default choice if not specified.
Note: The following fields are mutually exclusive:
knn
,ann
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#knn=
def knn=(value) -> ::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::KNN
-
value (::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::KNN) — Performs a KNN search on RagCorpus.
Default choice if not specified.
Note: The following fields are mutually exclusive:
knn
,ann
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::KNN) — Performs a KNN search on RagCorpus.
Default choice if not specified.
Note: The following fields are mutually exclusive:
knn
,ann
. If a field in that set is populated, all other fields in the set will automatically be cleared.