Expand description
Facade over the concrete embedding backend for the current target.
- On non-musl, non-Intel-macOS targets, re-exports
blazen-embed-fastembed(fast C++ ONNX Runtime). - On musl Linux and Intel macOS (
x86_64-apple-darwin), re-exportsblazen-embed-tract(pure-Rust ONNX inference via tract). ORT has no prebuilt binaries for either platform.
Downstream code imports ONLY from this crate. The backend selection is invisible.
Structs§
- Embed
Model - A local embedding model backed by
fastembed(ONNX Runtime). - Embed
Options - Options for constructing a
FastEmbedModel. - Embed
Response - Response from a fastembed embedding operation.
Enums§
- Embed
Error - Error type for fastembed operations.