Repository navigation
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
124 lines (124 loc) · 4.01 KB
/
Copy pathopenclaw.plugin.json
File metadata and controls
124 lines (124 loc) · 4.01 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"id": "sqlite-doc-store",
"name": "SQLite Document Store",
"description": "Buffered document storage for OpenClaw using SQLite, FTS5, chunking, optional OpenAI-compatible embeddings, and future sqlite-vec support.",
"version": "0.1.0",
"kind": "extension",
"skills": ["./skills"],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"dbPath": {
"type": "string",
"default": "/config/.openclaw/sqlite-doc-store/documents.sqlite",
"description": "Path to the SQLite database file."
},
"defaultChunkTargetTokens": {
"type": "integer",
"minimum": 100,
"maximum": 4000,
"default": 900,
"description": "Default target chunk size in approximate tokens."
},
"defaultChunkOverlapTokens": {
"type": "integer",
"minimum": 0,
"maximum": 1000,
"default": 120,
"description": "Default overlap between adjacent chunks in approximate tokens."
},
"enableFts": {
"type": "boolean",
"default": true,
"description": "Enable SQLite FTS5 indexes for keyword search."
},
"vectorMode": {
"type": "string",
"enum": ["disabled", "sqlite-vec"],
"default": "disabled",
"description": "Vector search mode. sqlite-vec support is scaffolded but not enabled by default yet."
},
"sqliteVecExtensionPath": {
"type": "string",
"description": "Optional path to the sqlite-vec extension shared library."
},
"embedding": {
"type": "object",
"additionalProperties": false,
"description": "Optional OpenAI-compatible embeddings provider used to generate chunk embeddings during save/backfill.",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Enable chunk embedding generation. When false, documents are stored without calling the embeddings API."
},
"apiUrl": {
"type": "string",
"default": "https://api.openai.com/v1/embeddings",
"description": "Full OpenAI-compatible embeddings endpoint URL."
},
"apiKey": {
"type": "string",
"description": "Bearer token for the OpenAI-compatible embeddings API."
},
"model": {
"type": "string",
"default": "text-embedding-3-small",
"description": "Embedding model name sent to the upstream API."
},
"timeoutMs": {
"type": "integer",
"minimum": 1000,
"maximum": 120000,
"default": 30000,
"description": "HTTP timeout for embedding requests in milliseconds."
},
"batchSize": {
"type": "integer",
"minimum": 1,
"maximum": 128,
"default": 32,
"description": "Number of chunk texts batched into one embeddings request."
},
"dimensions": {
"type": "integer",
"minimum": 1,
"description": "Optional embedding dimensionality, for providers/models that support overriding dimensions."
}
},
"required": []
}
},
"required": []
},
"uiHints": {
"dbPath": {
"label": "Database Path",
"help": "SQLite file used as the buffered document store."
},
"defaultChunkTargetTokens": {
"label": "Default Chunk Target Tokens",
"advanced": true
},
"defaultChunkOverlapTokens": {
"label": "Default Chunk Overlap Tokens",
"advanced": true
},
"enableFts": {
"label": "Enable FTS5"
},
"vectorMode": {
"label": "Vector Mode",
"advanced": true
},
"sqliteVecExtensionPath": {
"label": "sqlite-vec Extension Path",
"advanced": true
},
"embedding": {
"label": "Embeddings Provider",
"help": "OpenAI-compatible endpoint used to generate chunk embeddings."
}
}
}