GoogleCloudAiplatformV1LLMBasedMetricSpec class
Specification for an LLM based metric.
Constructors
-
GoogleCloudAiplatformV1LLMBasedMetricSpec.new({Map<
String, Object?> ? additionalConfig, GoogleCloudAiplatformV1AutoraterConfig? judgeAutoraterConfig, String? metricPromptTemplate, GoogleCloudAiplatformV1PredefinedMetricSpec? predefinedRubricGenerationSpec, GoogleCloudAiplatformV1RubricGenerationSpec? rubricGenerationSpec, String? rubricGroupKey, String? systemInstruction}) - GoogleCloudAiplatformV1LLMBasedMetricSpec.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 ↔ GoogleCloudAiplatformV1AutoraterConfig?
-
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 ↔ GoogleCloudAiplatformV1PredefinedMetricSpec?
-
Dynamically generate rubrics using a predefined spec.
getter/setter pair
- rubricGenerationSpec ↔ GoogleCloudAiplatformV1RubricGenerationSpec?
-
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