Selected

data class Selected constructor(val categoryId: String, val provenance: ModelProvenance, val confidence: Double? = null) : ClassificationResult

A canonical category ID with optional provider-reported confidence; no score is inferred. Confidence is finite and in 0,1, without a calibration guarantee. Direct construction cannot check membership; providers should use ClassificationSpec.selected, and consumers can validate against the spec or use CategoryMapping.map.

Constructors

Link copied to clipboard
constructor(categoryId: String, provenance: ModelProvenance, confidence: Double? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val confidence: Double? = null
Link copied to clipboard