Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigPinecone

Inherits:
Object
  • Object
show all
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 Pinecone.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RagVectorDbConfigPinecone

Returns a new instance of GoogleCloudAiplatformV1RagVectorDbConfigPinecone.



22637
22638
22639
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22637

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

Instance Attribute Details

#index_nameString

Pinecone index name. This value cannot be changed after it's set. Corresponds to the JSON property indexName

Returns:

  • (String)


22635
22636
22637
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22635

def index_name
  @index_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22642
22643
22644
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22642

def update!(**args)
  @index_name = args[:index_name] if args.key?(:index_name)
end