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.



22960
22961
22962
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22960

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)


22958
22959
22960
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22958

def index_name
  @index_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22965
22966
22967
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22965

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