langchain-rust-openrouter 4.6.0

LangChain for Rust with OpenRouter integration - unified access to 200+ LLM and embedding models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum IndexError {
    #[error("No Emedding on Route: {0}")]
    MissingEmbedding(String),

    #[error("Error: {0}")]
    OtherError(String),

    #[error("No Route found: {0}")]
    RouterNotFound(String),
}