pub enum Provider {
TypeSafe,
Cloudflare {
account_id: String,
},
Liquid,
Vercel,
OpenRouter,
Compatible,
}Expand description
Service used to access a decision model. Model IDs are selected separately.
Variants§
TypeSafe
TypeSafe’s System One API, with TYPESAFE_* environment defaults.
Cloudflare
Cloudflare Workers AI. Uses CLOUDFLARE_API_TOKEN.
Liquid
Liquid AI’s decisions API. Uses LIQUID_API_KEY.
Vercel
Vercel’s TypeSafe-compatible API. Uses AI_GATEWAY_API_KEY.
OpenRouter
OpenRouter’s System One API. Uses OPENROUTER_API_KEY.
Compatible
A custom System One API. Requires an explicit base URL.
Uses explicit credentials or KUNOBI_DECISION_API_KEY.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.