Read score as the primary output. Inspect the additional fields when deciding how to use it.
Declaration
interface ScoreResponse { type: 'score'; score: number; legend: Record<string,JsonValue>; probabilities: Probabilities; confidence: number }Read score as the primary output. Inspect the additional fields when deciding how to use it.
interface ScoreResponse { type: 'score'; score: number; legend: Record<string,JsonValue>; probabilities: Probabilities; confidence: number }