agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
13 lines • 403 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.writeFacts = void 0;
function writeFacts(config) {
return async (scope) => {
const facts = (scope.newFacts ?? []);
if (facts.length === 0)
return;
await config.store.putMany(scope.identity, facts);
};
}
exports.writeFacts = writeFacts;
//# sourceMappingURL=writeFacts.js.map