Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue

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 value of a variable in prompt.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue

Returns a new instance of GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue.



29664
29665
29666
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29664

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

Instance Attribute Details

#part_listGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecPartList

A list of elements and information that make up a portion of prompt. Corresponds to the JSON property partList



29662
29663
29664
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29662

def part_list
  @part_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29669
29670
29671
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29669

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