Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #613

Merged
merged 5 commits into from
Jul 18, 2024
Merged

Dev #613

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions OpenAI.SDK/ObjectModels/Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,

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

/// <summary>
/// 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
/// </summary>
public static string Gpt_4o_mini => "gpt-4o-mini";

/// <summary>
/// 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
/// </summary>
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";
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion OpenAI.SDK/OpenAI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageIcon>Betalgo-Ranul-OpenAI-icon.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Title>OpenAI SDK by Betalgo</Title>
<Version>8.6.0</Version>
<Version>8.6.1</Version>
<Authors>Tolga Kayhan, Betalgo</Authors>
<Company>Betalgo Up Ltd.</Company>
<Product>OpenAI ChatGPT, Whisper, GPT-4 and DALL·E dotnet SDK</Product>
Expand Down
5 changes: 4 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
Loading