diff --git a/OpenAI.SDK/ObjectModels/Models.cs b/OpenAI.SDK/ObjectModels/Models.cs index b5d6d242..c0e06254 100644 --- a/OpenAI.SDK/ObjectModels/Models.cs +++ b/OpenAI.SDK/ObjectModels/Models.cs @@ -98,6 +98,8 @@ public enum Model Gpt_4_turbo_2024_04_09, Gpt_4o, Gpt_4o_2024_05_13, + Gpt_4o_mini, + Gpt_4o_mini_2024_07_18, WhisperV1, @@ -220,6 +222,22 @@ public enum Subject /// public static string Gpt_4o_2024_05_13 => "gpt-4o-2024-05-13"; + /// + /// Our affordable and intelligent small model for fast, lightweight tasks. + /// GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo. + /// Currently points to gpt-4o-mini-2024-07-18. + /// 128,000 tokens Up to Oct 2023 + /// + public static string Gpt_4o_mini => "gpt-4o-mini"; + + /// + /// Our affordable and intelligent small model for fast, lightweight tasks. + /// GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo. + /// Currently points to gpt-4o-mini-2024-07-18. + /// 128,000 tokens Up to Oct 2023 + /// + public static string Gpt_4o_mini_2024_07_18 => "gpt-4o-mini-2024-07-18"; + public static string Ada => "ada"; public static string Babbage => "babbage"; @@ -457,6 +475,8 @@ public static string EnumToString(this Model model) 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.Gpt_4o_mini => Gpt_4o_mini, + Model.Gpt_4o_mini_2024_07_18 => Gpt_4o_mini_2024_07_18, Model.Tts_1 => Tts_1, Model.Tts_1_hd => Tts_1_hd, Model.Text_moderation_007 => TextModeration007, diff --git a/OpenAI.SDK/OpenAI.csproj b/OpenAI.SDK/OpenAI.csproj index 81edca44..85cc1727 100644 --- a/OpenAI.SDK/OpenAI.csproj +++ b/OpenAI.SDK/OpenAI.csproj @@ -10,7 +10,7 @@ Betalgo-Ranul-OpenAI-icon.png true OpenAI SDK by Betalgo - 8.6.0 + 8.6.1 Tolga Kayhan, Betalgo Betalgo Up Ltd. OpenAI ChatGPT, Whisper, GPT-4 and DALL·E dotnet SDK diff --git a/Readme.md b/Readme.md index 8b254c51..74233715 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,7 @@ # .NET SDK for OpenAI ⭐ We appreciate your star, it helps! -[![Discord Shield](https://discord.com/api/guilds/1250841506785529916/widget.png?style=shield)](https://discord.gg/rE9uVp52) *(If the invite link doesn't work, ping me in discussions.)* +[![Discord Shield](https://discord.com/api/guilds/1250841506785529916/widget.png?style=shield)](https://discord.gg/R2XcBC8E) *(If the invite link doesn't work, ping me in discussions.)* We have a very new Discord channel. Please come and help us build the .NET AI community. ## Overview @@ -116,6 +116,9 @@ Due to time constraints, not all methods have been thoroughly tested or fully do Needless to say, I cannot accept responsibility for any damage caused by using the library. ## Changelog + +### 8.6.1 +- Updated Models with new GPT-4o mini model. ### 8.6.0 - Fixed Azure Assistant URLs. - Updated library logo.