1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! 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;