Skip to main content

try_shared_engine

Function try_shared_engine 

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

Non-blocking variant: returns the engine ONLY if already loaded. Never triggers model loading or download. Safe to call on hot paths.