Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Config for the Vector DB to use for RAG.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagVectorDbConfig

Returns a new instance of GoogleCloudAiplatformV1beta1RagVectorDbConfig.



26771
26772
26773
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26771

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_authGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth

The generic reusable api auth config. Corresponds to the JSON property apiAuth



26739
26740
26741
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26739

def api_auth
  @api_auth
end

#pineconeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone

The config for the Pinecone. Corresponds to the JSON property pinecone



26744
26745
26746
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26744

def pinecone
  @pinecone
end

#rag_embedding_model_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig

Config for the embedding model to use for RAG. Corresponds to the JSON property ragEmbeddingModelConfig



26749
26750
26751
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26749

def rag_embedding_model_config
  @rag_embedding_model_config
end

#rag_managed_dbGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb

The config for the default RAG-managed Vector DB. Corresponds to the JSON property ragManagedDb



26754
26755
26756
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26754

def rag_managed_db
  @rag_managed_db
end

#vertex_feature_storeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore

The config for the Vertex Feature Store. Corresponds to the JSON property vertexFeatureStore



26759
26760
26761
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26759

def vertex_feature_store
  @vertex_feature_store
end

#vertex_vector_searchGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch

The config for the Vertex Vector Search. Corresponds to the JSON property vertexVectorSearch



26764
26765
26766
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26764

def vertex_vector_search
  @vertex_vector_search
end

#weaviateGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate

The config for the Weaviate. Corresponds to the JSON property weaviate



26769
26770
26771
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26769

def weaviate
  @weaviate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26776
26777
26778
26779
26780
26781
26782
26783
26784
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26776

def update!(**args)
  @api_auth = args[:api_auth] if args.key?(:api_auth)
  @pinecone = args[:pinecone] if args.key?(:pinecone)
  @rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
  @rag_managed_db = args[:rag_managed_db] if args.key?(:rag_managed_db)
  @vertex_feature_store = args[:vertex_feature_store] if args.key?(:vertex_feature_store)
  @vertex_vector_search = args[:vertex_vector_search] if args.key?(:vertex_vector_search)
  @weaviate = args[:weaviate] if args.key?(:weaviate)
end