talon-core 0.4.2

Core retrieval engine for Talon: hybrid search (BM25 + semantic + reranker), indexing, and graph-aware ranking over markdown corpora.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! OpenAI-compatible LLM client for hybrid search query expansion.
//!
//! Ports the `expandSearchQueries` logic from
//! `clients/sidecar-llm/local-llm.ts` in the TS reference.  The sidecar
//! exposes a `/chat/completions` endpoint; this module provides a blocking
//! client that requests reformulated search variants, normalises the
//! response, and degrades gracefully on any LLM-quality failure.

pub mod cache;
pub mod client;
pub mod error;
pub mod types;

pub use cache::LlmCache;
pub use client::{DEFAULT_EXPANSION_TIMEOUT, ExpansionClient};
pub use error::ExpansionError;
pub use types::RecallDistillationBody;