backfill_embeddings
Generate embeddings for memories lacking them, enabling AI assistants to reliably recall and reinforce persistent information. Includes dry-run and force options.
Instructions
Generate embeddings for memories that lack them.
Args: model: Model name (default: all-MiniLM-L6-v2). limit: Max memories to process (1-10k, None=all). force: Regenerate existing embeddings. dry_run: Preview only.
Returns: Dict with: success, processed, errors, model, total_memories, memories_without_embeddings, message.
Raises: ValueError: Invalid limit. ImportError: sentence-transformers not installed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "backfill_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| limit | No | ||
| model | No | all-MiniLM-L6-v2 | |
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||