Expand description
Local Embeddings Engine for semantic understanding.
The public LocalEmbeddingEngine wraps any EmbeddingBackend with
adaptive batching, concurrency control, and timeouts. Backends live under
backends — currently BertBackend (Candle +
HuggingFace Hub) and StaticHashBackend
(hash-based fallback). Swapping in model2vec-rs for the
minishlab/potion-multilingual-128M migration becomes a new backend impl
plus one branch in engine::LocalEmbeddingEngine::new.
Re-exports§
pub use backend::EmbeddingBackend;pub use config::EmbeddingConfig;pub use config::EmbeddingModelType;pub use engine::LocalEmbeddingEngine;
Modules§
- backend
- Pluggable embedding backend trait.
- backends
- Concrete
EmbeddingBackendimplementations. - config
- Embedding-engine configuration and supported model types.
- engine
LocalEmbeddingEngine— the public entry point.