llm-chain logo

llm-chain

Enrichment pending
sobelio/llm-chain

`llm-chain` is a powerful rust crate for building chains in large language models allowing you to summarise text and complete complex tasks

GraphCanon updated today · GitHub synced today

1.6k
Stars
142
Forks
41
Open issues
17
Watchers
1y
Last push
Rust MITCreated Mar 24, 2023

Trust & integrity

Full report
Maintenance
Dormant (617d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Organization account
As of today · Source: github_public_v1
Security (OSV)
No lockfile
As of today · Source: none

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

`llm-chain` is a powerful rust crate for building chains in large language models allowing you to summarise text and complete complex tasks

Capability facts

Languages
rust

Source: github.language · Jul 11, 2026

Categories

Tags

README

Getting Started 🚀

To start using llm-chain, add it as a dependency in your Cargo.toml (you need Rust 1.65.0 or newer):

[dependencies]
llm-chain = "0.12.0"
llm-chain-openai = "0.12.0"

The examples for llm-chain-openai require you to set the OPENAI_API_KEY environment variable which you can do like this:

export OPENAI_API_KEY="sk-YOUR_OPEN_AI_KEY_HERE"

Then, refer to the documentation and examples to learn how to create prompt templates, chains, and more.


License 📄

llm-chain is licensed under the MIT License.