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.
17801 17802 17803 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17801 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
17799 17800 17801 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17799 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17806 17807 17808 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17806 def update!(**args) @values = args[:values] if args.key?(:values) end |