Multi-select from a list
Independent yes/no probability per option (not a distribution that sums to 1).
value contains every option whose probability is at least 0.5, in request
order. The probabilities map shows the independent P(applies) for each option.
Audio is accepted only on deployments that transcribe speech; otherwise a
request with audio returns 503.
Body Parameters
The options to select from (zero or more may be selected).
The question to decide.
When true (default), the model may abstain if it lacks confidence.
When false, abstention is replaced by the best-effort answer.
Optional domain hint for specialized few-shot behavior (e.g., finance).
Text context for the decision. May be empty when images or documents carry the context.
Whether to allow a reasoning trace before deciding. Only honored in fast
mode; ignored for deep. Set to false for lowest latency.
Returns
Multi-select from a list
curl https://api.articul8.ai/bivia/set \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $A8_API_KEY" \
-d '{
"options": [
"cancel",
"refund",
"status"
],
"question": "Which actions apply?"
}'
{
"evidence": {
"spans": [
{
"end": 0,
"start": 0,
"text": "text"
}
]
},
"latency_ms": 0,
"mode": "fast",
"model": "dec-1",
"status": "answered",
"thought": true,
"type": "set",
"value": {},
"verification": {
"performed": true,
"result": "passed"
},
"abstain_reason": "low_confidence",
"billable_tokens": 0,
"document_notes": [
{
"document": "document",
"status": "included",
"chars": 0,
"reason": "reason",
"tokens": 0,
"truncated": true
}
],
"document_tokens": 0,
"image_tokens": 0,
"input_tokens": 0,
"probabilities": {
"foo": 0
},
"think_allowed": true
}Returns Examples
{
"evidence": {
"spans": [
{
"end": 0,
"start": 0,
"text": "text"
}
]
},
"latency_ms": 0,
"mode": "fast",
"model": "dec-1",
"status": "answered",
"thought": true,
"type": "set",
"value": {},
"verification": {
"performed": true,
"result": "passed"
},
"abstain_reason": "low_confidence",
"billable_tokens": 0,
"document_notes": [
{
"document": "document",
"status": "included",
"chars": 0,
"reason": "reason",
"tokens": 0,
"truncated": true
}
],
"document_tokens": 0,
"image_tokens": 0,
"input_tokens": 0,
"probabilities": {
"foo": 0
},
"think_allowed": true
}