db_rebuild_vectors
Rebuild all memory vectors using the current embedding model. Use when switching models or recovering from vector corruption. Clears existing vectors, re-embeds memories, and updates model info.
Instructions
Rebuild all memory vectors with the current embedding model.
Use this when:
Switching to a different embedding model
Fixing dimension mismatch errors
Recovering from corrupted vector data
This operation:
Clears all existing vectors (memories are preserved)
Re-embeds every memory with the current model
Updates stored model info
Warning: This can take time for large databases. Progress is logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_size | No | Memories to embed per batch (default 100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |