Ask whether a criterion is true. Read the estimated probability of yes from the noul field.
{
"type": "noul",
"instructions": "Is the book red?"
}Interpret true and false
Read answers[key].noul as a probability from zero to one. Use 1 − p for the opposite event. If the instruction contains a negation, verify the direction against concrete positive and negative examples.
Request structure
The question lives under a stable key in the request’s questions object. State supplies the evidence it evaluates.
{
"model": "ngila-judge",
"state": "My card was charged twice. Please refund one charge.",
"questions": {
"duplicate": {
"type": "noul",
"instructions": "Does the customer report a duplicate charge?"
}
}
}Response structure
Read the matching key under answers. The values below illustrate the fields used in this example.
{
"answers": {
"duplicate": {
"type": "noul",
"noul": 0.97
}
}
}Use noul as the estimated probability of yes. The probability of no is one minus that value.