langchainrust 0.2.13

A LangChain-inspired framework for building LLM applications in Rust. Supports OpenAI, Agents, Tools, Memory, Chains, RAG, BM25, Hybrid Retrieval, LangGraph, HyDE, Reranking, MultiQuery, and native Function Calling.
1
2
3
4
5
6
7
8
9
10
11
12
// src/language_models/providers/mod.rs
pub mod deepseek;
pub mod moonshot;
pub mod zhipu;
pub mod qwen;
pub mod anthropic;

pub use deepseek::{DeepSeekChat, DeepSeekConfig, DEEPSEEK_BASE_URL, DEEPSEEK_MODELS};
pub use moonshot::{MoonshotChat, MoonshotConfig, MOONSHOT_BASE_URL, MOONSHOT_MODELS};
pub use zhipu::{ZhipuChat, ZhipuConfig, ZHIPU_BASE_URL, ZHIPU_MODELS};
pub use qwen::{QwenChat, QwenConfig, QWEN_BASE_URL, QWEN_MODELS};
pub use anthropic::{AnthropicChat, AnthropicConfig, AnthropicError, ANTHROPIC_BASE_URL, CLAUDE_MODELS};