Skip to main content

get_embedder

Function get_embedder 

Source
pub fn get_embedder(
    _models_dir: &Path,
) -> Result<&'static Mutex<LlmEmbedding>, AppError>
Expand description

Initialises the LLM-embedding client on first use and returns it.