#[non_exhaustive]pub enum LlmProvider {
OpenAi,
Anthropic,
Other(String),
}Expand description
Known and extension LLM provider namespaces.
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-compatible first-party API traffic.
Anthropic
Anthropic first-party API traffic.
Other(String)
Provider namespace not yet represented by a built-in variant.
Implementations§
Source§impl LlmProvider
impl LlmProvider
Trait Implementations§
Source§impl Debug for LlmProvider
impl Debug for LlmProvider
Source§impl<'de> Deserialize<'de> for LlmProvider
impl<'de> Deserialize<'de> for LlmProvider
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LlmProvider
Source§impl PartialEq for LlmProvider
impl PartialEq for LlmProvider
Source§impl Serialize for LlmProvider
impl Serialize for LlmProvider
impl StructuralPartialEq for LlmProvider
Auto Trait Implementations§
impl Freeze for LlmProvider
impl RefUnwindSafe for LlmProvider
impl Send for LlmProvider
impl Sync for LlmProvider
impl Unpin for LlmProvider
impl UnsafeUnpin for LlmProvider
impl UnwindSafe for LlmProvider
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