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.



31411
31412
31413
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31411

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)


31409
31410
31411
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31409

def index_name
  @index_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31416
31417
31418
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31416

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