diff --git a/OpenAI.SDK/ObjectModels/Models.cs b/OpenAI.SDK/ObjectModels/Models.cs index 9d5e25f1..9cfb7f1f 100644 --- a/OpenAI.SDK/ObjectModels/Models.cs +++ b/OpenAI.SDK/ObjectModels/Models.cs @@ -98,7 +98,9 @@ public enum Model Gpt_4_turbo_preview, Gpt_4_turbo, Gpt_4_turbo_2024_04_09, - + Gpt_4o, + Gpt_4o_2024_05_13, + WhisperV1, Dall_e_2, @@ -202,6 +204,20 @@ public enum Subject /// 128,000 tokens Up to Dec 2023 /// public static string Gpt_4_turbo_2024_04_09 => "gpt-4-turbo-2024-04-09"; + + /// + /// Our most advanced, multimodal flagship model that’s cheaper and faster than GPT-4 Turbo. + /// Currently points to gpt-4o-2024-05-13. + /// 128,000 tokens Up to Oct 2023 + /// + public static string Gpt_4o => "gpt-4o"; + + /// + /// Our most advanced, multimodal flagship model that’s cheaper and faster than GPT-4 Turbo. + /// Currently points to gpt-4o-2024-05-13. + /// 128,000 tokens Up to Oct 2023 + /// + public static string Gpt_4o_2024_05_13 => "gpt-4o-2024-05-13"; public static string Ada => "ada"; @@ -432,6 +448,8 @@ public static string EnumToString(this Model model) Model.Gpt_4_turbo_preview => Gpt_4_turbo_preview, Model.Gpt_4_turbo => Gpt_4_turbo, Model.Gpt_4_turbo_2024_04_09 => Gpt_4_turbo_2024_04_09, + Model.Gpt_4o => Gpt_4o, + Model.Gpt_4o_2024_05_13 => Gpt_4o_2024_05_13, Model.Tts_1 => Tts_1, Model.Tts_1_hd => Tts_1_hd, Model.Text_moderation_007 => TextModeration007,