pub enum Provider {
OpenAiCompatible,
Anthropic,
Bedrock,
}Expand description
Which in-binary adapter speaks to the endpoint. OpenAI-compatible is the canonical default; anthropic and Bedrock Converse (RFC 0031 §8 — native Bedrock) are the other in-binary dialects. Anything else lives behind a gateway (RFC 0006 §two-adapters).
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