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.
10139 10140 10141 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10139 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
10137 10138 10139 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10137 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10144 10145 10146 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10144 def update!(**args) @values = args[:values] if args.key?(:values) end |