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
//! Error type for `talon ask` LLM calls.

use thiserror::Error;

use crate::llm::ChatError;

/// Errors returned by [`AskClient`].
///
/// [`AskClient`]: crate::ask::AskClient
#[derive(Debug, Error)]
#[non_exhaustive]
pub enum AskError {
    /// Underlying chat-completion failure.
    #[error(transparent)]
    Chat(#[from] ChatError),
}