Decisions
Changed onBeta. Evaluate content against named questions and receive structured answers, probabilities, and usage costs. Send the content as state and define each entry in questions as:
- noul: estimate the probability that a statement is true.
- choice: select an option from a set.
- score: rate the content on an ordered scale.
- box: locate one target in an image and return its bounding box. Beta, TypeSafe jev-preview only.
Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through assets (beta).
Use a native decision model or a supported chat model. Configure ordered fallbacks, optional retry, timeout.call_timeout in milliseconds, and an exact-match cache. Each retry and fallback gets a fresh timeout; omit retry to move directly to the next fallback on timeout. The response identifies the model that answered.
Requires the classify API-key permission. PII plugins and guardrails are not applied. See the Decisions guide for supported models, probability interpretation, and refusals.
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v3/router/decisions
- AuthHTTP bearer
Request body
Response
Returns one answer per question.
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
- warning
removed the request property
- warning
removed the request property
- warning