1 unstable release

0.1.0 Jan 29, 2025

#1100 in Web programming

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

~6–18MB
~234K SLoC