GoogleCloudAiplatformV1EvaluationInstance class
A single instance to be evaluated.
Instances are used to specify the input data for evaluation, from simple string comparisons to complex, multi-turn model evaluations
Constructors
-
GoogleCloudAiplatformV1EvaluationInstance.new({GoogleCloudAiplatformV1EvaluationInstanceMapInstance? otherData, GoogleCloudAiplatformV1EvaluationInstanceInstanceData? prompt, GoogleCloudAiplatformV1EvaluationInstanceInstanceData? reference, GoogleCloudAiplatformV1EvaluationInstanceInstanceData? response, Map<
String, GoogleCloudAiplatformV1RubricGroup> ? rubricGroups}) - GoogleCloudAiplatformV1EvaluationInstance.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- otherData ↔ GoogleCloudAiplatformV1EvaluationInstanceMapInstance?
-
Other data used to populate placeholders based on their key.
getter/setter pair
- prompt ↔ GoogleCloudAiplatformV1EvaluationInstanceInstanceData?
-
Data used to populate placeholder
prompt
in a metric prompt template.getter/setter pair - reference ↔ GoogleCloudAiplatformV1EvaluationInstanceInstanceData?
-
Data used to populate placeholder
reference
in a metric prompt template.getter/setter pair - response ↔ GoogleCloudAiplatformV1EvaluationInstanceInstanceData?
-
Data used to populate placeholder
response
in a metric prompt template.getter/setter pair -
rubricGroups
↔ Map<
String, GoogleCloudAiplatformV1RubricGroup> ? -
Named groups of rubrics associated with the prompt.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited