Skip to main content

embed_passage

Function embed_passage 

Source
pub fn embed_passage(
    embedder: &Mutex<LlmEmbedding>,
    text: &str,
) -> Result<Vec<f32>, AppError>
Expand description

Embeds a single passage for storage. Delegates to the configured LLM headless (claude code / codex). Returns a 384-dim f32 vector.