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.
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 | |||