Docs / Question types
yes_no
A yes/no judgment returned as the probability of yes, from 0 to 1. noul is accepted as an alias and answers in the same shape under its own name.
{
"type": "yes_no",
"instructions": "Is this message about billing?",
"criteria": {
"true": "optional: what makes it true",
"false": "optional: what makes it false"
}
}
Answer:
{
"type": "yes_no",
"yes_no": 0.98
}
There is no separate confidence: the probability is the belief. 0.5 means the model can't tell.
Create an account Open the Playground
Everything here also lives in the console, next to your keys and usage.