Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData
- 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
Message to hold a prompt template and the values to populate the template.
Instance Attribute Summary collapse
-
#values ⇒ Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>
The values for fields in the prompt template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData
constructor
A new instance of GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData
Returns a new instance of GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData.
9486 9487 9488 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9486 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>
The values for fields in the prompt template.
Corresponds to the JSON property values
9484 9485 9486 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9484 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9491 9492 9493 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9491 def update!(**args) @values = args[:values] if args.key?(:values) end |