/langchain-rust

Primary LanguageRustMIT LicenseMIT

langchain_rs

Build Status Latest Version

langchain_rs is a Rust implementation of LangChain, a library for building applications with Large Language Models (LLMs). This version of LangChain is specifically designed for use with Rust and provides seamless integration with LLMs.

Features

  • Integration with LLMs for natural language processing tasks
  • Flexible prompt management and optimization
  • Generic interface for working with different LLMs
  • Support for building chains of LLM calls
  • Data augmentation functionality for improved generation
  • Memory management to persist state across calls

Installation

To use langchain_rs in your Rust project, add the following to your Cargo.toml file:

[dependencies]
langchain_rs = "0.0.1"

Usage

Coming Soon

Contributing

Contributions to langchain_rs are welcome! If you would like to contribute, please follow these steps:

  1. Fork the langchain_rs repository
  2. Create a new branch for your contributions
  3. Make your changes and write tests if necessary
  4. Ensure that all tests pass
  5. Submit a pull request with your changes

Please refer to the CONTRIBUTING.md file in the repository for more information on how to contribute.

License

langchain_rs is released under the MIT License. See the LICENSE file for more information.