-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
executable file
·78 lines (78 loc) · 2.96 KB
/
Copy pathopenclaw.plugin.json
File metadata and controls
executable file
·78 lines (78 loc) · 2.96 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
71
72
73
74
75
76
77
78
{
"id": "graph-memory",
"name": "Graph Memory",
"version": "1.6.0-beta.13",
"description": "知识图谱记忆引擎:从对话提取三元组,按当前问题进行向量/FTS5 召回并接管上下文",
"contracts": {
"tools": ["gm_search", "gm_record", "gm_update", "gm_stats", "gm_maintain"]
},
"configSchema": {
"type": "object",
"properties": {
"dbPath": {
"type": "string",
"default": "~/.openclaw/graph-memory.db",
"description": "SQLite 图谱数据库路径"
},
"compactTurnCount": {
"type": "integer",
"default": 6,
"description": "每隔多少轮运行 PageRank 与社区维护"
},
"recallMaxNodes": {
"type": "integer",
"minimum": 1,
"default": 6,
"description": "每次按当前问题排序后最多召回几个记忆节点"
},
"semanticScoreThreshold": {
"type": "number",
"minimum": -1,
"maximum": 1,
"description": "可选的余弦相似度下限;应按所用 embedding 模型校准,不设置时使用排序后的 Top-K"
},
"freshTurnCount": {
"type": "integer",
"minimum": 1,
"default": 5,
"description": "宿主上下文中原样保留的最近用户轮数"
},
"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", "description": "API 地址(兼容旧配置;不填时默认 OpenAI)" },
"baseUrl": { "type": "string", "description": "API 地址(OpenClaw 标准拼写;与 baseURL 二选一)" },
"model": { "type": "string", "default": "text-embedding-3-small", "description": "模型名" },
"dimensions": { "type": "integer", "minimum": 1, "description": "可选向量维度;仅在服务明确支持时设置" }
}
},
"llm": {
"type": "object",
"description": "可选:LLM 配置。不配则用 OpenClaw 全局 provider",
"properties": {
"apiKey": { "type": "string" },
"baseURL": { "type": "string", "description": "API 地址(兼容旧配置)" },
"baseUrl": { "type": "string", "description": "API 地址(OpenClaw 标准拼写;与 baseURL 二选一)" },
"model": { "type": "string" },
"maxTokens": {
"type": "integer",
"minimum": 1,
"description": "仅 Anthropic 直连需要;该协议要求调用方明确设置响应上限"
}
}
}
}
}
}