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.



23769
23770
23771
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23769

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)


23767
23768
23769
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23767

def index_name
  @index_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23774
23775
23776
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23774

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