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