Console ↗

ChoiceResponse

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 }

Choice guide →