Find the lines that answer a question
jev_locateFind which lines of a large file answer your questions. Returns ranked line numbers and a probability the file contains the answer, judging lines in context and batching many questions in one pass.
Instructions
Find which lines of a large file (a log, a long doc, a big source file) answer or address a question, without reading the file yourself. Returns line numbers only, ranked, plus the probability the file answers the question at all. Jev reads the lines in windows of up to 254 with their neighbours, so each line is judged in context. Then open just the returned line ranges. Across a whole directory, use jev_search. Pass every question you have about the file in one call: the file is read once for all of them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many lines to return per question. | |
| path | No | A file read inside the server. Same rules as jev_triage paths. Supply exactly one of path or text. | |
| text | No | The content, when you already hold it. | |
| questions | Yes | Every question you have about this text, each stated in full (up to 16). They are judged in one pass over the same text, so extra questions cost almost nothing: batch them rather than calling again. Questions cannot see each other's answers. | |
| no_at_or_below | No | Probability at or below which a check's verdict is 'no'. Default 0.3. Between the two the verdict is 'uncertain'. | |
| yes_at_or_above | No | Probability at or above which a check's verdict is 'yes'. Default 0.7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| model | Yes | ||
| usage | Yes | ||
| results | Yes | One per question, in the order asked. | |
| windows | Yes | ||
| latency_ms | Yes | Wall-clock milliseconds for the API round trip, for your own calibration logs. | |
| thresholds | Yes | ||
| lines_considered | Yes | Non-empty lines judged. |