跳到主要内容

DeepSeek Harness 本地聊天记忆:按来源保存聊天原文,关键词 + 向量检索,可选大模型重排与检索摘要。源码公开,仅限非商用

浏览文件
main

分支

config.example.json

14 行 · 551 B历史下载
1{
2 "autoRecord": true,
3 "autoRetrieve": true,
4 "tools": true,
5 "topK": 6,
6 "maxContextChars": 4000,
7 "ownerIds": ["你的QQ号"],
8 "unknownOrigin": "isolated",
9 "shareGroups": true,
10 "shareOwner": true,
11 "speakTools": ["*send_message*", "*send_group_message*", "*send_private_message*", "*reply*"],
12 "embedding": { "enabled": false, "protocol": "ollama", "baseUrl": "http://127.0.0.1:11434", "model": "nomic-embed-text" },
13 "reranker": { "enabled": false, "protocol": "generic", "baseUrl": "http://127.0.0.1:8080", "model": "reranker" }
14}