Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance
- 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
Instance for RubricBasedInstructionFollowing metric - one instance corresponds to one row in an evaluation dataset.
Instance Attribute Summary collapse
-
#json_instance ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance
constructor
A new instance of GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance
Returns a new instance of GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance.
26225 26226 26227 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#json_instance ⇒ String
Required. Instance specified as a json string. String key-value pairs are
expected in the json_instance to render RubricBasedInstructionFollowing prompt
templates.
Corresponds to the JSON property jsonInstance
26223 26224 26225 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26223 def json_instance @json_instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26230 26231 26232 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26230 def update!(**args) @json_instance = args[:json_instance] if args.key?(:json_instance) end |