langchain-rust

langchain-rust

GitHub: https://github.com/Abraxas-365/langchain-rust

⭐ 星星數: 1203

摘要: 這是一個Rust版本的LangChain框架,讓開發者能夠在Rust中輕鬆構建基於大型語言模型(LLM)的應用程式。

技術堆疊: Rust, async-openai, tokio, reqwest, serde, sqlx, tiktoken-rs

架構: 專案採用模組化架構,包含代理(agent)、鏈(chain)、文件載入器(document_loaders)等核心組件,支援向量資料庫整合和異步操作,遵循LangChain的設計模式。