Expand description
Where vector recall’s model and indexes live and whether they are there, without loading either:
what the hooks check before a query, and what borg doctor reads (doctor.rs). No dependency on
lessons or the engine.
Constants§
- MANIFEST
- Beside the
SeekStormfiles: which model the vectors come from and which lesson versions they hold. - MODEL_
FILES - The files
--fetchdownloads, with their sha256 atMODEL_REVISION. - MODEL_
REPO - The Hugging Face repository of the default model and the revision
--fetchpins. - MODEL_
REVISION
Functions§
- built_
with - Whether the index of
lessonsexists (Noneif not) and was built withmodel: the one rule for a current index, the engine’s as doctor’s and setup’s. - enabled
- Off only with
BORG_VECTORS=off(or a build without thevectorsfeature). - index_
dir - The vector index of a lessons file:
vectors/beside it. - model_
dir - The model directory:
BORG_VECTOR_MODEL, default~/.local/share/borg/models/potion-multilingual-128M. - model_
present - Whether the model’s files are there (no load).