Package com.google.genai.types
Class BleuMetricValue
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.BleuMetricValue
Bleu metric value for an instance. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for BleuMetricValue. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BleuMetricValue.Builderbuilder()Instantiates a builder for BleuMetricValue.static BleuMetricValueDeserializes a JSON string to a BleuMetricValue object.score()Output only.abstract BleuMetricValue.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
BleuMetricValue
public BleuMetricValue()
-
-
Method Details
-
score
Output only. Bleu score. -
builder
Instantiates a builder for BleuMetricValue. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a BleuMetricValue object.
-