rig-core 0.44.0

An opinionated library for building LLM powered applications.
Documentation
//! Provider clients, their configurations, and model identifiers.
//!
//! A client, such as [`openai::OpenAI`], holds a provider's configuration on a
//! transport and builds the models it serves. A vendor that speaks another
//! provider's format has its own constructors, such as [`deepseek::from_env`].
//! For a provider chosen from data, use [`registry::ProviderRef`].
//!
//! ```no_run
//! use rig_core::providers::openai::{self, OpenAI};
//! let model = OpenAI::from_env()?.chat(openai::GPT_5_2);
//! # Ok::<(), Box<dyn std::error::Error>>(())
//! ```
pub mod anthropic;
pub mod azure;
pub mod chatgpt;
pub mod cohere;
pub mod copilot;
pub mod deepseek;
pub mod doubleword;
pub mod gemini;
pub mod groq;
pub mod huggingface;
pub mod hyperbolic;
pub mod internal;
pub mod llamacpp;
pub mod minimax;
pub mod mira;
pub mod mistral;
pub mod moonshot;
pub mod ollama;
pub mod openai;
pub mod openrouter;
pub mod perplexity;
pub mod registry;
pub mod together;
pub mod venice;
pub mod voyageai;
pub mod xai;
pub mod xiaomimimo;
pub mod zai;