-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
executable file
·70 lines (70 loc) · 2.39 KB
/
openclaw.plugin.json
File metadata and controls
executable file
·70 lines (70 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"id": "graph-memory",
"name": "Graph Memory",
"version": "1.5.6",
"description": "知识图谱记忆引擎:从对话提取三元组,FTS5+图遍历+PageRank 跨对话召回,社区聚类+向量去重自动维护",
"configSchema": {
"type": "object",
"properties": {
"dbPath": {
"type": "string",
"default": "~/.openclaw/graph-memory.db",
"description": "SQLite 图谱数据库路径"
},
"compactTurnCount": {
"type": "integer",
"default": 7,
"description": "每隔多少轮检查信号触发知识提取"
},
"recallMaxNodes": {
"type": "integer",
"default": 6,
"description": "跨对话召回最多注入几个节点"
},
"recallMaxDepth": {
"type": "integer",
"default": 2,
"description": "图遍历深度(从种子节点出发走几跳)"
},
"freshTailCount": {
"type": "integer",
"default": 10,
"description": "(deprecated) 已改为按用户轮次切分,此参数不再使用"
},
"dedupThreshold": {
"type": "number",
"default": 0.90,
"description": "向量去重阈值:余弦相似度超过此值视为重复节点 (0-1)"
},
"pagerankDamping": {
"type": "number",
"default": 0.85,
"description": "PageRank 阻尼系数"
},
"pagerankIterations": {
"type": "integer",
"default": 20,
"description": "PageRank 迭代次数"
},
"embedding": {
"type": "object",
"description": "可选:向量搜索配置。配了用语义搜索+去重,没配用 FTS5 全文搜索",
"properties": {
"apiKey": { "type": "string", "description": "Embedding API Key" },
"baseURL": { "type": "string", "default": "https://api.openai.com/v1", "description": "API 地址" },
"model": { "type": "string", "default": "text-embedding-3-small", "description": "模型名" },
"dimensions": { "type": "integer", "default": 512, "description": "向量维度" }
}
},
"llm": {
"type": "object",
"description": "可选:LLM 配置。不配则用 OpenClaw 全局 provider",
"properties": {
"apiKey": { "type": "string" },
"baseURL": { "type": "string" },
"model": { "type": "string" }
}
}
}
}
}