llm_chain/
lib.rs

1//! # 🚀 llm-chain 🚀
2//!
3//! `llm-chain` is the *ultimate* toolbox for developers looking to supercharge their applications with the power of Large Language Models (LLMs)! 🎉
4//!
5//! This versatile crate lets you chain together LLMs, making it incredibly useful for:
6//! - Effortlessly summarizing lengthy documents 📚
7//! - Allow your bots to interact with the environment using tools.
8//! - Seamlessly chaining together multiple prompts to tackle complex tasks.
9//! - ChatGPT model support
10//! - LLaMA model support
11
12//!
13//! And that's not all! `llm-chain` is also your best friend when it comes to creating and managing prompts for LLMs. Say goodbye to hassle and bloated syntax! Quickly create and manage prompts with our intuitive templating system, and let `llm-chain` handle the rest! 🤩
14//!
15//! Keep in mind that this crate is a library, which means it doesn't include any LLMs out of the box. But fear not! We also offer the [llm-chain-openai](https://crates.io/crates/llm-chain-openai) crate, which brings the power of OpenAI's LLMs right to your fingertips! 🪄 We recommend starting with that crate to make the most of `llm-chain`. 😉
16//!
17//! So, buckle up and dive into the amazing world of LLMs! Unlock the full potential of your applications with `llm-chain` and watch them soar! 🌈💥
18//!
19//! To help you get started, we've prepared a comprehensive [tutorial](https://docs.llm-chain.xyz/docs/category/tutorial) that will guide you through the process of using `llm-chain`. The tutorial covers everything from installation to advanced usage, so you'll be well-equipped to make the most of this powerful toolbox.
20//!
21//! Happy coding, and may your LLM adventures be both exciting and productive! 🥳🚀
22//!
23
24// Core components
25pub mod agents;
26pub mod chains;
27pub mod document_stores;
28pub mod executor;
29pub mod frame;
30pub mod options;
31pub mod output;
32pub mod parameters;
33pub mod parsing;
34pub mod prompt;
35pub mod schema;
36pub mod serialization;
37pub mod step;
38pub mod tokens;
39pub mod tools;
40pub mod traits;
41
42// Utilities and tools
43pub mod summarization;
44
45// Re-exports for convenient usage
46pub use parameters::Parameters;