Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/memory / / IterativeRetrievalResult
Interface: IterativeRetrievalResult<H>
Defined in: packages/memory/src/search/iterative.ts:342
Result of an iterative retrieval run.
Stable
Type Parameters
| Type Parameter |
|---|
H |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
abstained | readonly | boolean | true when the loop exhausted its cap / ran out of reformulations while still judged insufficient - the caller should abstain rather than answer from hits. | packages/memory/src/search/iterative.ts:356 |
gateHard | readonly | boolean | Difficulty-gate verdict (whether the loop was eligible to run). | packages/memory/src/search/iterative.ts:348 |
graded | readonly | boolean | true when the grader actually judged the result at least once (memory-retrieval-02). false on the single-shot path (gate not hard, or no grader configured) - there sufficient: true is a DEFAULT, not a verdict, and consumers must not read it as one. | packages/memory/src/search/iterative.ts:363 |
hits | readonly | readonly H[] | Accumulated hits across all passes (deduped, in discovery order). | packages/memory/src/search/iterative.ts:344 |
iterations | readonly | number | Number of retrieval passes performed (≥ 1). | packages/memory/src/search/iterative.ts:346 |
queries | readonly | readonly string[] | The sequence of queries tried (original first). | packages/memory/src/search/iterative.ts:365 |
sufficient | readonly | boolean | Final sufficiency verdict. | packages/memory/src/search/iterative.ts:350 |