Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / IterativeRetrievalResult

Interface: IterativeRetrievalResult<H>

Defined in: packages/memory/src/search/iterative.ts:324

Result of an iterative retrieval run.

Stable

Type Parameters

Type Parameter
H

Properties

PropertyModifierTypeDescriptionDefined in
abstainedreadonlybooleantrue 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:338
gateHardreadonlybooleanDifficulty-gate verdict (whether the loop was eligible to run).packages/memory/src/search/iterative.ts:330
hitsreadonlyreadonly H[]Accumulated hits across all passes (deduped, in discovery order).packages/memory/src/search/iterative.ts:326
iterationsreadonlynumberNumber of retrieval passes performed (≥ 1).packages/memory/src/search/iterative.ts:328
queriesreadonlyreadonly string[]The sequence of queries tried (original first).packages/memory/src/search/iterative.ts:340
sufficientreadonlybooleanFinal sufficiency verdict.packages/memory/src/search/iterative.ts:332