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

8.0.1 #530

Merged
merged 4 commits into from
Apr 11, 2024
Merged

8.0.1 #530

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
17 changes: 17 additions & 0 deletions OpenAI.SDK/ObjectModels/Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public enum Model
Gpt_4_0125_preview,
Gpt_4_vision_preview,
Gpt_4_turbo_preview,
Gpt_4_turbo,
Gpt_4_turbo_2024_04_09,

WhisperV1,

Expand Down Expand Up @@ -186,7 +188,20 @@ public enum Subject
public static string Gpt_4_vision_preview => "gpt-4-vision-preview";

public static string Gpt_4_turbo_preview => "gpt-4-turbo-preview";

/// <summary>
/// The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling.
/// Currently points to gpt-4-turbo-2024-04-09 as of 04/09/2024.
/// 128,000 tokens Up to Dec 2023
/// </summary>
public static string Gpt_4_turbo => "gpt-4-turbo";

/// <summary>
/// GPT-4 Turbo with Vision model. Vision requests can now use JSON mode and function calling.
/// `gpt-4-turbo` currently points to this version.
/// 128,000 tokens Up to Dec 2023
/// </summary>
public static string Gpt_4_turbo_2024_04_09 => "gpt-4-turbo-2024-04-09";


public static string Ada => "ada";
Expand Down Expand Up @@ -415,6 +430,8 @@ public static string EnumToString(this Model model)
Model.Gpt_4_0125_preview => Gpt_4_0125_preview,
Model.Gpt_4_vision_preview => Gpt_4_vision_preview,
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.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>OpenAI-Betalgo.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Title>OpenAI SDK by Betalgo</Title>
<Version>8.0.0</Version>
<Version>8.0.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
2 changes: 1 addition & 1 deletion OpenAI.Utilities/OpenAI.Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageProjectUrl>https://openai.com/</PackageProjectUrl>
<PackageIcon>OpenAI-Betalgo.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>8.0.0</Version>
<Version>8.0.1</Version>
<Authors>Tolga Kayhan, Betalgo</Authors>
<Company>Betalgo Up Ltd.</Company>
<Product>Utility tools for Betalgo.OpenAI</Product>
Expand Down
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ I will always be using the latest libraries, and future releases will frequently
I am incredibly busy. If I forgot your name, please accept my apologies and let me know so I can add it to the list.

## Changelog
### 8.0.1
- Added support for new Models `gpt-4-turbo` and `gpt-4-turbo-2024-04-09` thanks to @ChaseIngersol
### 8.0.0
- Added support for .NET 8.0 thanks to @BroMarduk
- Utilities library updated to work with only .NET 8.0
Expand Down
Loading