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