langchainrust 0.3.0

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

mod image;
mod message;

pub use image::ImageContent;
pub use message::{Message, MessageType};