PointwiseMetricInstance class final

Pointwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.

Inheritance
  • Object
  • ProtoMessage
  • PointwiseMetricInstance

Constructors

PointwiseMetricInstance({String? jsonInstance, ContentMap? contentMapInstance})
PointwiseMetricInstance.fromJson(Object? j)
factory

Properties

contentMapInstance ContentMap?
Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content.
final
hashCode int
The hash code for this object.
no setterinherited
jsonInstance String?
Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
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() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String