genai 0.5.3

Multi-AI Providers Library for Rust. (OpenAI, Gemini, Anthropic, xAI, Ollama, Groq, DeepSeek, Grok)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! The GenAI web client construct that uses reqwest. Only `webc::Error` is exposed as the public interface.

// region:    --- Modules

mod error;
mod event_source_stream;
mod web_client;
mod web_stream;

pub(crate) use error::Result;
pub(crate) use event_source_stream::*;
pub(crate) use web_client::*;
pub(crate) use web_stream::*;

// Only public for external use
pub use error::Error;

// endregion: --- Modules