pub enum Provider {
OpenAiCompatible,
Anthropic,
Bedrock,
}Expand description
Which in-binary adapter speaks to the endpoint. OpenAI-compatible is the default; Anthropic Messages and Bedrock Converse are the other two dialects compiled in. The set stops here deliberately: any other provider is reached through a gateway, which keeps provider quirks out of the binary.
Variants§
OpenAiCompatible
Anthropic
Bedrock
Amazon Bedrock Converse — the model id rides the URL path, not the body,
and auth is SigV4 (an intelligence.auth: {kind: aws}), not a bearer.
Implementations§
Trait Implementations§
impl Copy for Provider
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