Expand description
Unified cloud provider wrapping OpenAI, Claude, Gemini, and GitHub Copilot.
This crate provides a single CloudProvider enum that implements LanguageModel,
allowing seamless switching between providers.
It also provides CloudModelProvider enum that implements LanguageModelProvider,
allowing unified model listing and instantiation across providers.
Re-exports§
pub use aither_claude as claude;pub use aither_copilot as copilot;pub use aither_gemini as gemini;pub use aither_openai as openai;
Structs§
- Claude
- Claude chat model client for the Anthropic Messages API.
- Claude
Provider - Provider capable of listing and instantiating
Claudemodels. - Copilot
- GitHub Copilot language model client.
- Copilot
Provider - Provider capable of listing and instantiating
Copilotmodels. - Gemini
- Native Gemini backend wired up to the
aithertraits. - Gemini
Provider - Provider capable of listing and instantiating
Geminimodels. - OpenAI
OpenAImodel backed by the Responses API by default, with legacychat.completionssupport for compatibility.- OpenAI
Provider - Provider capable of listing and instantiating
OpenAImodels.
Enums§
- Cloud
Embedder - Unified embedding-capable cloud provider.
- Cloud
Embedder Error - Error returned when a cloud provider cannot be used as an embedder.
- Cloud
Error - Error type for cloud provider operations.
- Cloud
Model Provider - Unified model provider wrapping
OpenAI, Claude, Gemini, and Copilot providers. - Cloud
Provider - Unified cloud provider wrapping
OpenAI, Claude, Gemini, and GitHub Copilot.