1 unstable release

new 0.1.0 Jan 29, 2025

#1705 in Web programming

Download history 118/week @ 2025-01-28

118 downloads per month

MIT license

20KB
561 lines

llm-api-rs

llm-api-rs is a Rust library that lets you use multiple LLM Provider in a single project: OpenAI, Anthropic (Claude), DeepSeek, xAI and Google (Gemini). you can easily create chat or text completion requests without multiplying structures and crates.

Installation

Cargo.toml:

[dependencies]
llm-api-rs = "0.1.0"

Usage

See examples in the examples directory.

Dependencies

~7–19MB
~238K SLoC