Expand description
Host-agnostic Embedder trait, joint embedding output, and error helpers.
Structs§
- Joint
Embedding Output - Output container for single-pass joint multi-modal / BGE-M3 embedding.
- Sparse
Embedder - Local sparse-only helper (no dense model). Default English pipeline
only — hosts needing other languages use
Bm25TextConfig/Bm25Pipelinedirectly.
Traits§
- Embedder
- Host-agnostic embedding backend.
- Embedder
Bound - Send/Sync bound helper for
Embedderimplementations on native targets.
Functions§
- cross_
rerank_ unsupported_ error - Error when cross-encoder pair rerank is requested without a scorer host.
- dense_
model_ unsupported_ error - Error when a dense model is requested that this embedder cannot satisfy.
- image_
unsupported_ error - Error when image embedding is requested but the host has no image path.
- multi_
unsupported_ error - Error when multi-vector embedding is requested but the host has no multi path.
- sparse_
model_ unsupported_ error - Error when a sparse model is requested that this embedder cannot satisfy.