1 unstable release
| 0.1.0 | Jan 29, 2025 |
|---|
#17 in #xai
Used in 2 crates
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–13MB
~212K SLoC