Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEngineConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Config for RagEngine.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagEngineConfig

Returns a new instance of GoogleCloudAiplatformV1beta1RagEngineConfig.



37101
37102
37103
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37101

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

Instance Attribute Details

#nameString

Identifier. The name of the RagEngineConfig. Format: projects/project/ locations/location/ragEngineConfig Corresponds to the JSON property name

Returns:

  • (String)


37094
37095
37096
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37094

def name
  @name
end

#rag_managed_db_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfig

Configuration message for RagManagedDb used by RagEngine. Corresponds to the JSON property ragManagedDbConfig



37099
37100
37101
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37099

def rag_managed_db_config
  @rag_managed_db_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37106
37107
37108
37109
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37106

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