Skip to main content

shared_engine

Function shared_engine 

Source
pub fn shared_engine() -> Option<&'static EmbeddingEngine>
Expand description

Global singleton embedding engine. Loaded once, shared across all consumers. Returns None if the embeddings feature is disabled or the model fails to load.