PointwiseMetricResult

@Serializable
data class PointwiseMetricResult(val customOutput: CustomOutput? = null, val explanation: String? = null, val score: Double? = null)

Spec for pointwise metric result. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(customOutput: CustomOutput? = null, explanation: String? = null, score: Double? = null)

Properties

Link copied to clipboard

Output only. Spec for custom output.

Link copied to clipboard
val explanation: String? = null

Output only. Explanation for pointwise metric score.

Link copied to clipboard
val score: Double? = null

Output only. Pointwise metric score.