agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
33 lines • 1.9 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_LOADERS = exports.mockLoader = exports.MissingPdfSupportError = exports.pdfLoader = exports.htmlLoader = exports.markdownLoader = exports.textLoader = void 0;
const text_js_1 = require("./text.js");
const markdown_js_1 = require("./markdown.js");
const html_js_1 = require("./html.js");
const pdf_js_1 = require("./pdf.js");
var text_js_2 = require("./text.js");
Object.defineProperty(exports, "textLoader", { enumerable: true, get: function () { return text_js_2.textLoader; } });
var markdown_js_2 = require("./markdown.js");
Object.defineProperty(exports, "markdownLoader", { enumerable: true, get: function () { return markdown_js_2.markdownLoader; } });
var html_js_2 = require("./html.js");
Object.defineProperty(exports, "htmlLoader", { enumerable: true, get: function () { return html_js_2.htmlLoader; } });
var pdf_js_2 = require("./pdf.js");
Object.defineProperty(exports, "pdfLoader", { enumerable: true, get: function () { return pdf_js_2.pdfLoader; } });
Object.defineProperty(exports, "MissingPdfSupportError", { enumerable: true, get: function () { return pdf_js_2.MissingPdfSupportError; } });
var mock_js_1 = require("./mock.js");
Object.defineProperty(exports, "mockLoader", { enumerable: true, get: function () { return mock_js_1.mockLoader; } });
/**
* 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.
*/
exports.DEFAULT_LOADERS = Object.freeze([
(0, markdown_js_1.markdownLoader)(),
(0, text_js_1.textLoader)(),
(0, html_js_1.htmlLoader)(),
(0, pdf_js_1.pdfLoader)(),
]);
//# sourceMappingURL=index.js.map