Skip to main content

Module embedding

Module embedding 

Source
Expand description

Embedding backends for computing vector representations of text.

Structs§

CandleEmbeddingEngine
Pure-Rust embedding engine using candle for BERT inference.

Constants§

MODEL_ID
HuggingFace model ID. Only BGE-small-en-v1.5 is supported currently.

Traits§

EmbeddingBackend
Trait abstracting embedding backends so we can swap implementations without changing calling code.