Tribal: Reindex Embeddings
tribal_reindexStart a reindex to a new embedding geometry without interrupting active reads and writes. The swap to the new space is atomic, ensuring consistent access throughout.
Instructions
Start a reindex to a new embedding geometry, naming the target provider, model, and dimension on the command. Reads and writes continue against the active profile while the new space fills; the swap is atomic. An unchanged target is a no-op. Operator-only; the worker drives the run to completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_url | No | The target endpoint. The provider's default when omitted. | |
| dimensions | No | The target vector dimension, between 1 and the halfvec storage ceiling of 4000. Resolved from the model when omitted. | |
| dry_run | No | When true, resolve the target, validate its credential, and return the item and tag counts without creating a run. | |
| model | Yes | The target embedding model. | |
| provider | Yes | The target embedding provider, for example 'ollama' or 'openai'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_url | Yes | The resolved, normalised target endpoint. | |
| dimensions | Yes | The resolved target dimension. | |
| estimated_items | Yes | The number of items the new geometry must embed. | |
| estimated_tags | Yes | The number of tags the new geometry must embed. | |
| model | Yes | The resolved target model. | |
| outcome | Yes | plan: a dry run; no run was created. created: a new run was queued. unchanged: the target already matches the active profile. already_live: a run is already in progress. lock_contended: another create holds the single-flight lock; retry. | |
| provider | Yes | The resolved target provider. | |
| run_id | Yes | The run id, present for created and already_live. |