GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec class
Specification for an LLM based metric.
Constructors
-
GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec.new({Map<
String, Object?> ? additionalConfig, GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig? judgeAutoraterConfig, String? metricPromptTemplate, GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec? predefinedRubricGenerationSpec, GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec? rubricGenerationSpec, String? rubricGroupKey, String? systemInstruction}) - GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec.fromJson(Map json_)
Properties
-
additionalConfig
↔ Map<
String, Object?> ? -
Optional additional configuration for the metric.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- judgeAutoraterConfig ↔ GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig?
-
Optional configuration for the judge LLM (Autorater).
getter/setter pair
- metricPromptTemplate ↔ String?
-
Template for the prompt sent to the judge model.
getter/setter pair
- predefinedRubricGenerationSpec ↔ GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec?
-
Dynamically generate rubrics using a predefined spec.
getter/setter pair
- rubricGenerationSpec ↔ GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec?
-
Dynamically generate rubrics using this specification.
getter/setter pair
- rubricGroupKey ↔ String?
-
Use a pre-defined group of rubrics associated with the input.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemInstruction ↔ String?
-
System instructions for the judge model.
getter/setter pair
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