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
// src/schema/messages/mod.rs
//! Message types for LangChain
//!
//! Messages are the inputs and outputs of chat models.

mod message;

pub use message::{Message, MessageType};