Expand description
Anamnesis embedding providers.
Phase-1 scope:
EmbeddingProvidertrait re-export fromanamnesis-core- Curated 5-model
registry—default/tiny/en/multi-strong/cloud-voyage(data only, zero ML deps) - Local provider via
fastembed-rs(Task #4) - Model cache lives under
$XDG_DATA_HOME/anamnesis/models/; binary stays small. Seedocs/BLUEPRINT.md §16.7.
The cloud provider (voyage) implementation lands in Phase 2 alongside
the mem0 adapter.
Re-exports§
pub use local::LocalFastembedProvider;pub use registry::available;pub use registry::by_key;pub use registry::default_model;pub use registry::local_only;pub use registry::CuratedModel;pub use registry::REGISTRY;pub use worker::DrainSummary;pub use worker::EmbeddingWorker;
Modules§
- local
- Local
EmbeddingProviderimplemented on top offastembed-rs. - registry
- Curated embedding model registry — see
docs/BLUEPRINT.md §16.7 / §16.8. - worker
- Embedding worker — drains
embedding_jobsagainst anEmbeddingProviderand writes vectors back to the store.
Structs§
- ModelId
- Stable identifier for an embedding model.
Enums§
- Embedding
Task - Hint to the provider for asymmetric models (e.g. e5 / bge use different prefixes for queries vs documents).
Constants§
- CRATE_
VERSION - Crate version, exposed for diagnostics and
anamnesis statusoutput.
Traits§
- Embedding
Provider - The only seam by which vectors enter the Anamnesis index.