1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! # 🚀 llm-chain 🚀
//!
//! `llm-chain` is the *ultimate* toolbox for developers looking to supercharge their applications with the power of Large Language Models (LLMs)! 🎉
//!
//! This super handy crate lets you chain together LLMs, which is incredibly useful for:
//! - Summarizing lengthy documents with ease 📚
//! - Chaining together multiple prompts to tackle complex tasks like a boss 😎
//!
//! But wait, there's more! `llm-chain` is also your best friend when it comes to creating and managing prompts for LLMs. No more hassle, no more bloated syntax! Quickly create and manage prompts with our templating system, and let `llm-chain` do the rest! 🤩
//!
//! Heads up! This crate is just a library, meaning it doesn't come with any LLMs included. But don't worry! We also make the [llm-chain-openai](https://crates.io/crates/llm-chain-openai) crate, which brings the power of OpenAI's LLMs to your fingertips! 🪄 You should probably start with that crate. 😉
//!
//! So, gear up, and enjoy the amazing world of LLMs! Get ready to unlock the full potential of your applications with llm-chain! 🌈💥
//!
//! Happy coding, and may your LLM adventures be both exciting and productive! 🥳🚀
//!

pub mod chains;
pub mod vectorstores;

mod parameters;
#[cfg(feature = "serialization")]
pub mod serialization;
pub mod traits;

pub mod schema;

pub mod frame;

pub mod tokens;

pub mod output;

pub mod parsing;

pub mod tools;

pub mod prompt;

pub use parameters::Parameters;

#[deprecated(note = "Use llm_chain::prompt! instead")]
pub use prompt::{PromptTemplate, PromptTemplateError};