Read choice as the primary output. Inspect the additional fields when deciding how to use it.
Declaration
interface ChoiceResponse { type: 'choice'; choice: string; probabilities: Probabilities; confidence: number }Read choice as the primary output. Inspect the additional fields when deciding how to use it.
interface ChoiceResponse { type: 'choice'; choice: string; probabilities: Probabilities; confidence: number }