rustlavel-ai 0.2.1

Rustlavel AI: one API for Anthropic, OpenAI and Ollama, with streaming, tools and a fake provider
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The providers that ship with the framework.
//!
//! Each one owns its wire format and nothing else: the same [`Request`] goes
//! in, the same [`Completion`] comes out, and every difference between the
//! three APIs is confined to one file.
//!
//! [`Request`]: crate::Request
//! [`Completion`]: crate::Completion

pub mod anthropic;
pub mod ollama;
pub mod openai;

pub use anthropic::Anthropic;
pub use ollama::Ollama;
pub use openai::OpenAi;