agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
17 lines • 795 B
TypeScript
/**
* wholeDocument — one chunk per document, no cutting at all.
*
* Pattern: Strategy (one of `Splitter`).
* Role: rag/ layer. For corpora whose documents are already one idea each —
* FAQ entries, product records, support macros, changelog entries.
* Emits: N/A.
*
* The honest caveat: an embedder truncates, so a document past the model's
* input ceiling is embedded from its opening only, and the rest is invisible
* to retrieval while still being injected if it is retrieved. `indexCorpus`
* records exactly that as `truncated[]` rather than letting it pass — but the
* fix is a real splitter, not a bigger number.
*/
import type { Splitter } from '../types.js';
export declare function wholeDocument(): Splitter;
//# sourceMappingURL=wholeDocument.d.ts.map