Skip to content
/ llmhub Public

Large Language Models Client API Library in Rust

License

Notifications You must be signed in to change notification settings

akirco/llmhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLMHub - Large Language Models Client API Library in Rust

A Rust-powered client library for interacting with large language models (LLMs). Supports streaming and non-streaming conversations with various API providers.

Notice

This is a work in progress and is not yet ready for production use.some providers are may not be fully supported yet.

Models supported

checkout /src/models/models.rs for more details.

Providers supported

checkout /src/api/providers.rs for more details.

Features ✨

  • 🚀 Async-first implementation using Tokio runtime
  • 🌐 Multi-provider support (Deepseek, etc.)
  • 📡 Stream response handling with backpressure support
  • 🔧 Configurable API endpoints and rate limiting
  • 🛠️ Strong type safety with Rust enums and structs
  • 🧠 Conversation memory management
  • 🚦 Comprehensive error handling

Installation 📦

Add to your Cargo.toml:

[dependencies]
llmhub = { git = "https://github.com/akirco/llmhub" }

Usage 🚀

checkout examples

cargo run --example llmhub_test

Contributing 🤝

Feel free to open issues or pull requests.

License 📄

MIT License

About

Large Language Models Client API Library in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages