UNPKG

agentfootprint

Version:

The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.

24 lines • 1.51 kB
/** * rag/ — a folder of documents becomes an answering agent. * * @see ./types.ts the ports and the value objects * @see ./loadDocuments.ts step 1 — bytes to text * @see ./splitDocuments.ts step 2 — text to chunks that know where they came from * @see ./indexCorpus.ts step 3 — the chart that embeds and stores them */ export { loadDocuments, } from './loadDocuments.js'; export { splitDocuments } from './splitDocuments.js'; export { indexCorpus, buildIndexChart } from './indexCorpus.js'; export { indexFolder } from './indexFolder.js'; export { sha256 } from './hash.js'; // Corpus-as-build-artifact (8.20.0): index where the credentials and durable // disk live, ship a plain-JSON bundle, serve it read-only where the process // runs. `staticVectorStore` is canonical in `agentfootprint/memory` (the // runtime side needs no filesystem door) and re-exported here so the whole // story is visible from the door that builds the bundle. export { exportCorpus, importCorpus } from './exportCorpus.js'; export { staticVectorStore, CORPUS_BUNDLE_FORMAT, } from '../memory/store/staticVectorStore.js'; export { DEFAULT_LOADERS, textLoader, markdownLoader, htmlLoader, pdfLoader, mockLoader, MissingPdfSupportError, } from './loaders/index.js'; export { stripTags } from './loaders/html.js'; export { byParagraph, byHeading, fixedWithOverlap, wholeDocument, DEFAULT_MAX_CHARS, DEFAULT_OVERLAP_CHARS, DEFAULT_MIN_CHARS, } from './splitters/index.js'; //# sourceMappingURL=index.js.map