Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb (v1.17.0)

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#knn=

def knn=(value) -> ::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::KNN
Parameter
Returns