RatingAssessment

@ApiStatus.Experimental
fun interface RatingAssessment

A decision service that rates the input against one rating question in its own provider call.

Per-question execution answers rating questions only through this interface.

Inheritors

Functions

Link copied to clipboard
abstract fun rate(input: String, question: RatingQuestionSpec): RatingResult

Rates the input against one rating question in its own provider call. The caller validates the outcome against the question's levels.