Ask many questions about one state
jev_askGet answers to several independent questions about the same document or state in a single call, reducing cost and latency. Provide paths for server-side file reading and receive only conclusions.
Instructions
Ask several independent questions about the same state in ONE request. Jev prefills the state once and scores every question in a single forward pass, so extra questions add almost no latency. Prefer this over repeated single-question calls: on a document-dominated workload it is dramatically cheaper and faster with no change in answers. Questions cannot see each other's answers, so state any speculative premise explicitly and let your own logic decide which answers apply. Pass 'paths' instead of 'state' to ask about files without reading them yourself: the server reads them, Jev sees them as one state keyed by path, and only the answers enter your context. Name the file in a question with its path in backticks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Files to read inside the server instead of state. Up to JEV_MAX_ITEMS; together they must fit JEV_MAX_STATE_CHARS. Same rules as jev_triage paths: below an allowed root, never credential files, contents never returned. | |
| state | No | The content to evaluate, when you already hold it. Supply exactly one of state or paths. | |
| act_above | No | Confidence at or above which the answer is marked 'act'. Default 0.8. Calibrate on your own data and the cost of being wrong. | |
| questions | Yes | ||
| review_above | No | Confidence at or above which the answer is marked 'review' rather than 'abstain'. Default 0.5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | With paths: what was read, as sizes only. | |
| model | Yes | ||
| usage | Yes | ||
| answers | Yes | Keyed by your question ids. Choice and Score answers also carry an 'action' gated on confidence. | |
| latency_ms | Yes | Wall-clock milliseconds for the API round trip, for your own calibration logs. | |
| none_options | Yes | For each 'classify' question, the key carrying the no-match meaning, or null. |