ic-rig 0.2.0

A lean, modular library for building LLM applications. Bring your own HTTP client.
Documentation
//! Feature-gated provider implementations.
//!
//! Each provider is a correct, complete implementation of [`CompletionModel`]
//! against a real API. Enable only what you need:
//!
//! ```toml
//! [dependencies]
//! irig = { version = "0.1", features = ["openai"] }
//! ```
//!
//! All providers are generic over `H: HttpClient`, so you supply the transport
//! (reqwest, ic_cdk HTTP outcall, mock, …) and the provider handles the
//! serialisation / deserialisation.

#[cfg(feature = "openai")]
pub mod openai;

#[cfg(feature = "anthropic")]
pub mod anthropic;

#[cfg(feature = "gemini")]
pub mod gemini;

#[cfg(feature = "deepseek")]
pub mod deepseek;