Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue

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

The value of a variable in prompt.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue.



56016
56017
56018
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 56016

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

Instance Attribute Details

#part_listGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList

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



56014
56015
56016
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 56014

def part_list
  @part_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56021
56022
56023
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 56021

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