Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
The config for the default RAG-managed Vector DB.
Instance Attribute Summary collapse
-
#ann ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn
Config for ANN search.
-
#knn ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn
Config for KNN search.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb
constructor
A new instance of GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb
Returns a new instance of GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb.
24681 24682 24683 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ann ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbAnn
Config for ANN search. RagManagedDb uses a tree-based structure to partition
data and facilitate faster searches. As a tradeoff, it requires longer
indexing time and manual triggering of index rebuild via the ImportRagFiles
and UpdateRagCorpus API.
Corresponds to the JSON property ann
24674 24675 24676 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24674 def ann @ann end |
#knn ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKnn
Config for KNN search.
Corresponds to the JSON property knn
24679 24680 24681 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24679 def knn @knn end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24686 24687 24688 24689 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24686 def update!(**args) @ann = args[:ann] if args.key?(:ann) @knn = args[:knn] if args.key?(:knn) end |