Expand description
FastEmbed-based embedder.
Provides semantic embeddings using the all-MiniLM-L6-v2 model via fastembed-rs.
When the fastembed-embeddings feature is enabled, this uses real ONNX-based
semantic embeddings. Otherwise, falls back to deterministic hash-based pseudo-embeddings.
Re-exports§
pub use native::FastEmbedEmbedder;
Modules§
- native 🔒
Functions§
- cosine_
similarity - Computes cosine similarity between two embedding vectors.