Class BleuMetricValue
Bleu metric value for an instance. This data type is not supported in Gemini API.
public record BleuMetricValue : IEquatable<BleuMetricValue>
- Inheritance
-
BleuMetricValue
- Implements
- Inherited Members
Properties
Score
Output only. Bleu score.
[JsonPropertyName("score")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Score { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a BleuMetricValue object.
public static BleuMetricValue? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- BleuMetricValue
The deserialized BleuMetricValue object, or null if deserialization fails.