Outcome

sealed class Outcome(source)

How an evaluation ended, before parsing into the feature's own type.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class Completed(val output: JsonValue) : EvaluationRecord.Outcome

The model produced output that passed schema validation.

Link copied to clipboard
data class Failed(val error: Throwable) : EvaluationRecord.Outcome

The evaluation ran but threw.

Link copied to clipboard
data class Skipped(val reason: String) : EvaluationRecord.Outcome

The evaluation never ran.