chore(sync): mirror docs from openclaw/openclaw@1fde7dbc0e

This commit is contained in:
openclaw-docs-sync[bot] 2026-04-28 00:15:10 +00:00
parent 90b0171b68
commit e98db0976f
2 changed files with 32 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"repository": "openclaw/openclaw",
"sha": "1adaa28dc86b4eb5805733f558962481159678f3",
"syncedAt": "2026-04-28T00:08:01.513Z"
"sha": "1fde7dbc0eef35711c1e2bb43e216ad746f9c141",
"syncedAt": "2026-04-28T00:13:45.125Z"
}

View File

@ -99,6 +99,36 @@ models need the value in config so LanceDB can create the vector column.
For small local embedding models, lower `recallMaxChars` if you see context
length errors from the local server.
## OpenAI-compatible providers
Some OpenAI-compatible embedding providers reject the `encoding_format`
parameter, while others ignore it and always return `number[]` vectors.
`memory-lancedb` therefore omits `encoding_format` on embedding requests and
accepts either float-array responses or base64-encoded float32 responses.
Set `embedding.dimensions` for providers whose model dimensions are not built
in. For example, ZhiPu `embedding-3` uses `2048` dimensions:
```json5
{
plugins: {
entries: {
"memory-lancedb": {
enabled: true,
config: {
embedding: {
apiKey: "${ZHIPU_API_KEY}",
baseUrl: "https://open.bigmodel.cn/api/paas/v4",
model: "embedding-3",
dimensions: 2048,
},
},
},
},
},
}
```
## Recall and capture limits
`memory-lancedb` has two separate text limits: