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.



24163
24164
24165
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24163

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)


24161
24162
24163
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24161

def index_name
  @index_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24168
24169
24170
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24168

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