#[non_exhaustive]pub enum Provider {
}Expand description
Known model providers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OpenAI
OpenAI.
Anthropic
Anthropic.
Google (Gemini).
DeepSeek
DeepSeek.
XAI
xAI (Grok).
Mistral
Mistral AI.
Meta
Meta (LLaMA).
Alibaba
Alibaba (Qwen / DashScope).
Bedrock
AWS Bedrock.
Azure
Azure OpenAI.
VertexAI
Google Vertex AI.
Groq
Groq.
Together
Together AI.
Fireworks
Fireworks AI.
Replicate
Replicate.
Cohere
Cohere.
Perplexity
Perplexity.
Copilot
GitHub Copilot.
Other(Cow<'static, str>)
Any other provider not explicitly listed.
Implementations§
Trait Implementations§
impl Eq for Provider
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more