GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec class
Specification for a metric that is based on rubrics.
Constructors
- GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec.new({GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics? inlineRubrics, GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig? judgeAutoraterConfig, String? metricPromptTemplate, GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec? rubricGenerationSpec, String? rubricGroupKey})
- GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inlineRubrics ↔ GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics?
-
Use rubrics provided directly in the spec.
getter/setter pair
- judgeAutoraterConfig ↔ GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig?
-
Optional configuration for the judge LLM (Autorater).
getter/setter pair
- metricPromptTemplate ↔ String?
-
Template for the prompt used by the judge model to evaluate against
rubrics.
getter/setter pair
- rubricGenerationSpec ↔ GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec?
-
Dynamically generate rubrics for evaluation using this specification.
getter/setter pair
- rubricGroupKey ↔ String?
-
Use a pre-defined group of rubrics associated with the input content.
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