Class BleuMetricValue

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.BleuMetricValue

public abstract class BleuMetricValue extends JsonSerializable
Bleu metric value for an instance. This data type is not supported in Gemini API.
  • Constructor Details

    • BleuMetricValue

      public BleuMetricValue()
  • Method Details

    • score

      public abstract Optional<Float> score()
      Output only. Bleu score.
    • builder

      public static BleuMetricValue.Builder builder()
      Instantiates a builder for BleuMetricValue.
    • toBuilder

      public abstract BleuMetricValue.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static BleuMetricValue fromJson(String jsonString)
      Deserializes a JSON string to a BleuMetricValue object.