1 unstable release
0.1.0 | Jan 29, 2025 |
---|
#1676 in Web programming
130 downloads per month
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