pub enum FallbackModels {
Show 28 variants
Gpt4Period5Preview,
Chatgpt4oLatest,
O3Mini,
O1Preview,
O1Preview20240912,
O1Mini,
O1Mini20240912,
Gpt4oRealtimePreview20241001,
Gpt4oRealtimePreview20241217,
Gpt4oMiniRealtimePreview20241217,
Gpt4oMini,
Gpt4oMini20240718,
Gpt4o,
Gpt4o20240513,
Gpt4o20240806,
Gpt4o20241120,
Gpt4Turbo,
Gpt4Turbo20240409,
Gpt4TurboPreview,
Gpt40125Preview,
Gpt41106Preview,
Gpt4,
Gpt40613,
Gpt3Period5Turbo,
Gpt3Period5Turbo0125,
Gpt3Period5Turbo1106,
Gpt3Period5Turbo16k,
Gpt3Period5Turbo0613,
}Expand description
These are the fallback models that will be used if the primary model fails. This shouldn’t be specified unless you have a specific reason to do so. Vapi will automatically find the fastest fallbacks that make sense.
Variants§
Gpt4Period5Preview
Chatgpt4oLatest
O3Mini
O1Preview
O1Preview20240912
O1Mini
O1Mini20240912
Gpt4oRealtimePreview20241001
Gpt4oRealtimePreview20241217
Gpt4oMiniRealtimePreview20241217
Gpt4oMini
Gpt4oMini20240718
Gpt4o
Gpt4o20240513
Gpt4o20240806
Gpt4o20241120
Gpt4Turbo
Gpt4Turbo20240409
Gpt4TurboPreview
Gpt40125Preview
Gpt41106Preview
Gpt4
Gpt40613
Gpt3Period5Turbo
Gpt3Period5Turbo0125
Gpt3Period5Turbo1106
Gpt3Period5Turbo16k
Gpt3Period5Turbo0613
Trait Implementations§
Source§impl Clone for FallbackModels
impl Clone for FallbackModels
Source§fn clone(&self) -> FallbackModels
fn clone(&self) -> FallbackModels
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FallbackModels
impl Debug for FallbackModels
Source§impl Default for FallbackModels
impl Default for FallbackModels
Source§fn default() -> FallbackModels
fn default() -> FallbackModels
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackModels
impl<'de> Deserialize<'de> for FallbackModels
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
Source§impl Hash for FallbackModels
impl Hash for FallbackModels
Source§impl Ord for FallbackModels
impl Ord for FallbackModels
Source§fn cmp(&self, other: &FallbackModels) -> Ordering
fn cmp(&self, other: &FallbackModels) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FallbackModels
impl PartialEq for FallbackModels
Source§impl PartialOrd for FallbackModels
impl PartialOrd for FallbackModels
Source§impl Serialize for FallbackModels
impl Serialize for FallbackModels
impl Copy for FallbackModels
impl Eq for FallbackModels
impl StructuralPartialEq for FallbackModels
Auto Trait Implementations§
impl Freeze for FallbackModels
impl RefUnwindSafe for FallbackModels
impl Send for FallbackModels
impl Sync for FallbackModels
impl Unpin for FallbackModels
impl UnwindSafe for FallbackModels
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.