Docs / Question types
choice
Pick one option from 1 to 255. Criteria map option name → description; a missing description is judged by the name alone.
{
"type": "choice",
"instructions": "What is the tone?",
"criteria": {
"angry": "Upset or hostile",
"calm": "Neutral or polite",
"excited": "Enthusiastic"
}
}
Answer:
{
"type": "choice",
"choice": "calm",
"confidence": 0.7,
"probabilities": {
"angry": 0.15,
"calm": 0.8,
"excited": 0.05
}
}
Create an account Open the Playground
Everything here also lives in the console, next to your keys and usage.