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 • 874 B
import { textLoader } from './text.js'; import { markdownLoader } from './markdown.js'; import { htmlLoader } from './html.js'; import { pdfLoader } from './pdf.js'; export { textLoader } from './text.js'; export { markdownLoader } from './markdown.js'; export { htmlLoader } from './html.js'; export { pdfLoader, MissingPdfSupportError } from './pdf.js'; export { mockLoader } from './mock.js'; /** * The loaders `loadDocuments` uses when the caller names none, in routing * order. * * `pdfLoader()` is in the list, but constructing it costs nothing — the * optional peer is loaded on the first PDF it is actually asked to read, so a * corpus of Markdown never touches it and never needs it installed. */ export const DEFAULT_LOADERS = Object.freeze([ markdownLoader(), textLoader(), htmlLoader(), pdfLoader(), ]); //# sourceMappingURL=index.js.map