Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate
- 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
The config for the Weaviate.
Instance Attribute Summary collapse
-
#collection_name ⇒ String
The corresponding collection this corpus maps to.
-
#http_endpoint ⇒ String
Weaviate DB instance HTTP endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate
constructor
A new instance of GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate
Returns a new instance of GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate.
38290 38291 38292 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 38290 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collection_name ⇒ String
The corresponding collection this corpus maps to. This value cannot be changed
after it's set.
Corresponds to the JSON property collectionName
38281 38282 38283 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 38281 def collection_name @collection_name end |
#http_endpoint ⇒ String
Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only
supports HTTP connection to Weaviate. This value cannot be changed after it's
set.
Corresponds to the JSON property httpEndpoint
38288 38289 38290 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 38288 def http_endpoint @http_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
38295 38296 38297 38298 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 38295 def update!(**args) @collection_name = args[:collection_name] if args.key?(:collection_name) @http_endpoint = args[:http_endpoint] if args.key?(:http_endpoint) end |