Build Embeddings
build_embeddingsRebuild vector embeddings for semantic and hybrid search. Use force=True to rebuild from scratch after embedding model changes, or converge to the full-text search chunk set without force.
Instructions
Rebuild vector embeddings for semantic and hybrid search.
Embeddings are built automatically on startup, so this is normally not needed. Use force=True to rebuild from scratch after changing the embedding model. Without force, the vector index converges to the FTS chunk set: missing or changed documents are embedded, orphaned vectors are removed, unchanged chunks are untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | When True, discards existing embeddings and rebuilds from scratch. Use only if the embedding model has changed. When False (default), converges the vector index to the FTS chunk set — work scales with the size of the drift, not the size of the vault (#665). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||