Documentation
¶
Overview ¶
backfill-embeddings enqueues River embedding jobs for the feedback records whose embedding is missing, stale or orphaned: the same selection as the repair sweep (EMBEDDING_RECONCILE_*), on demand and at full worker concurrency, for incident recovery or a deployment without the sweep. hub-worker processes the jobs.
With -prune-stale-models it instead deletes embedding rows left behind by previous EMBEDDING_MODEL values. Run the prune only AFTER a model migration's backfill has completed (stale rows are invisible to reads but bloat the shared HNSW index).
Click to show internal directories.
Click to hide internal directories.