Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData
- 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
Message to hold a prompt template and the values to populate the template.
Instance Attribute Summary collapse
-
#values ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>
The values for fields in the prompt template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData
constructor
A new instance of GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData
Returns a new instance of GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData.
11493 11494 11495 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11493 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>
The values for fields in the prompt template.
Corresponds to the JSON property values
11491 11492 11493 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11491 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11498 11499 11500 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11498 def update!(**args) @values = args[:values] if args.key?(:values) end |