Skip to content

Commit 327899f

Browse files
authored
Merge pull request #613 from betalgo/dev
8.6.1
2 parents c33aa77 + 9c8d97f commit 327899f

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

OpenAI.SDK/ObjectModels/Models.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ public enum Model
9898
Gpt_4_turbo_2024_04_09,
9999
Gpt_4o,
100100
Gpt_4o_2024_05_13,
101+
Gpt_4o_mini,
102+
Gpt_4o_mini_2024_07_18,
101103

102104
WhisperV1,
103105

@@ -220,6 +222,22 @@ public enum Subject
220222
/// </summary>
221223
public static string Gpt_4o_2024_05_13 => "gpt-4o-2024-05-13";
222224

225+
/// <summary>
226+
/// Our affordable and intelligent small model for fast, lightweight tasks.
227+
/// GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo.
228+
/// Currently points to gpt-4o-mini-2024-07-18.
229+
/// 128,000 tokens Up to Oct 2023
230+
/// </summary>
231+
public static string Gpt_4o_mini => "gpt-4o-mini";
232+
233+
/// <summary>
234+
/// Our affordable and intelligent small model for fast, lightweight tasks.
235+
/// GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo.
236+
/// Currently points to gpt-4o-mini-2024-07-18.
237+
/// 128,000 tokens Up to Oct 2023
238+
/// </summary>
239+
public static string Gpt_4o_mini_2024_07_18 => "gpt-4o-mini-2024-07-18";
240+
223241

224242
public static string Ada => "ada";
225243
public static string Babbage => "babbage";
@@ -457,6 +475,8 @@ public static string EnumToString(this Model model)
457475
Model.Gpt_4_turbo_2024_04_09 => Gpt_4_turbo_2024_04_09,
458476
Model.Gpt_4o => Gpt_4o,
459477
Model.Gpt_4o_2024_05_13 => Gpt_4o_2024_05_13,
478+
Model.Gpt_4o_mini => Gpt_4o_mini,
479+
Model.Gpt_4o_mini_2024_07_18 => Gpt_4o_mini_2024_07_18,
460480
Model.Tts_1 => Tts_1,
461481
Model.Tts_1_hd => Tts_1_hd,
462482
Model.Text_moderation_007 => TextModeration007,

OpenAI.SDK/OpenAI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageIcon>Betalgo-Ranul-OpenAI-icon.png</PackageIcon>
1111
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1212
<Title>OpenAI SDK by Betalgo</Title>
13-
<Version>8.6.0</Version>
13+
<Version>8.6.1</Version>
1414
<Authors>Tolga Kayhan, Betalgo</Authors>
1515
<Company>Betalgo Up Ltd.</Company>
1616
<Product>OpenAI ChatGPT, Whisper, GPT-4 and DALL·E dotnet SDK</Product>

Readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# .NET SDK for OpenAI
33
⭐ We appreciate your star, it helps!
44

5-
[![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.)*
5+
[![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.)*
66
We have a very new Discord channel. Please come and help us build the .NET AI community.
77

88
## Overview
@@ -116,6 +116,9 @@ Due to time constraints, not all methods have been thoroughly tested or fully do
116116
Needless to say, I cannot accept responsibility for any damage caused by using the library.
117117

118118
## Changelog
119+
120+
### 8.6.1
121+
- Updated Models with new GPT-4o mini model.
119122
### 8.6.0
120123
- Fixed Azure Assistant URLs.
121124
- Updated library logo.

0 commit comments

Comments
 (0)