Documentation
¶
Overview ¶
backfill-embeddings enqueues River embedding jobs for feedback records that have non-empty value_text and null embedding. Run this when the API server is not handling backfill (e.g. one-off or scheduled). 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.