#[non_exhaustive]pub enum ChatModel {
Show 78 variants
Gpt54,
Gpt54Mini,
Gpt54Nano,
Gpt54Mini20260317,
Gpt54Nano20260317,
Gpt53ChatLatest,
Gpt52,
Gpt5220251211,
Gpt52ChatLatest,
Gpt52Pro,
Gpt52Pro20251211,
Gpt51,
Gpt5120251113,
Gpt51Codex,
Gpt51Mini,
Gpt51ChatLatest,
Gpt5,
Gpt5Mini,
Gpt5Nano,
Gpt520250807,
Gpt5Mini20250807,
Gpt5Nano20250807,
Gpt5ChatLatest,
Gpt41,
Gpt41Mini,
Gpt41Nano,
Gpt4120250414,
Gpt41Mini20250414,
Gpt41Nano20250414,
O4Mini,
O4Mini20250416,
O3,
O320250416,
O3Mini,
O3Mini20250131,
O1,
O120241217,
O1Preview,
O1Preview20240912,
O1Mini,
O1Mini20240912,
Gpt4o,
Gpt4o20241120,
Gpt4o20240806,
Gpt4o20240513,
Gpt4oAudioPreview,
Gpt4oAudioPreview20241001,
Gpt4oAudioPreview20241217,
Gpt4oAudioPreview20250603,
Gpt4oMiniAudioPreview,
Gpt4oMiniAudioPreview20241217,
Gpt4oSearchPreview,
Gpt4oMiniSearchPreview,
Gpt4oSearchPreview20250311,
Gpt4oMiniSearchPreview20250311,
Chatgpt4oLatest,
CodexMiniLatest,
Gpt4oMini,
Gpt4oMini20240718,
Gpt4Turbo,
Gpt4Turbo20240409,
Gpt40125Preview,
Gpt4TurboPreview,
Gpt41106Preview,
Gpt4VisionPreview,
Gpt4,
Gpt40314,
Gpt40613,
Gpt432k,
Gpt432k0314,
Gpt432k0613,
Gpt35Turbo,
Gpt35Turbo16k,
Gpt35Turbo0301,
Gpt35Turbo0613,
Gpt35Turbo1106,
Gpt35Turbo0125,
Gpt35Turbo16k0613,
}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.
Gpt54
Gpt54Mini
Gpt54Nano
Gpt54Mini20260317
Gpt54Nano20260317
Gpt53ChatLatest
Gpt52
Gpt5220251211
Gpt52ChatLatest
Gpt52Pro
Gpt52Pro20251211
Gpt51
Gpt5120251113
Gpt51Codex
Gpt51Mini
Gpt51ChatLatest
Gpt5
Gpt5Mini
Gpt5Nano
Gpt520250807
Gpt5Mini20250807
Gpt5Nano20250807
Gpt5ChatLatest
Gpt41
Gpt41Mini
Gpt41Nano
Gpt4120250414
Gpt41Mini20250414
Gpt41Nano20250414
O4Mini
O4Mini20250416
O3
O320250416
O3Mini
O3Mini20250131
O1
O120241217
O1Preview
O1Preview20240912
O1Mini
O1Mini20240912
Gpt4o
Gpt4o20241120
Gpt4o20240806
Gpt4o20240513
Gpt4oAudioPreview
Gpt4oAudioPreview20241001
Gpt4oAudioPreview20241217
Gpt4oAudioPreview20250603
Gpt4oMiniAudioPreview
Gpt4oMiniAudioPreview20241217
Gpt4oSearchPreview
Gpt4oMiniSearchPreview
Gpt4oSearchPreview20250311
Gpt4oMiniSearchPreview20250311
Chatgpt4oLatest
CodexMiniLatest
Gpt4oMini
Gpt4oMini20240718
Gpt4Turbo
Gpt4Turbo20240409
Gpt40125Preview
Gpt4TurboPreview
Gpt41106Preview
Gpt4VisionPreview
Gpt4
Gpt40314
Gpt40613
Gpt432k
Gpt432k0314
Gpt432k0613
Gpt35Turbo
Gpt35Turbo16k
Gpt35Turbo0301
Gpt35Turbo0613
Gpt35Turbo1106
Gpt35Turbo0125
Gpt35Turbo16k0613
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatModel
impl<'de> Deserialize<'de> for ChatModel
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 ChatModel
impl StructuralPartialEq for ChatModel
Auto Trait Implementations§
impl Freeze for ChatModel
impl RefUnwindSafe for ChatModel
impl Send for ChatModel
impl Sync for ChatModel
impl Unpin for ChatModel
impl UnsafeUnpin for ChatModel
impl UnwindSafe for ChatModel
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