1 unstable release

0.1.0 Jan 29, 2025

#1676 in Web programming

Download history 88/week @ 2025-01-24 39/week @ 2025-01-31 3/week @ 2025-02-07

130 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–18MB
~236K SLoC