DeepSeek Harness 本地聊天记忆:按来源保存聊天原文,关键词 + 向量检索,可选大模型重排与检索摘要。源码公开,仅限非商用
浏览文件
main
分支
index.js
7 行 · 484 B历史下载| 1 | import { applyMemory } from './src/host.js'; |
| 2 | export function apply(ctx, config) { applyMemory(ctx, config); } |
| 3 | export { RetrievalMemory, renderEvidence } from './src/store.js'; |
| 4 | export { createEmbedder, createReranker, normalizeProvider } from './src/models.js'; |
| 5 | export { resolveOrigin, DEFAULT_ORIGIN_RULES } from './src/origin.js'; |
| 6 | // Required. systemPrompt, tools and webServer are optional and attached through ctx.inject when present. |
| 7 | export const inject = ['sessionProjections']; |

