From 418a5bad954b1c017c1396f276ca77759038a4ef Mon Sep 17 00:00:00 2001 From: Tolga Kayhan Date: Wed, 6 Dec 2023 21:41:08 +0000 Subject: [PATCH] version bump for 7.4.2 --- OpenAI.Playground/Program.cs | 10 ++++++---- OpenAI.SDK/OpenAI.csproj | 2 +- Readme.md | 11 ++++++++++- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/OpenAI.Playground/Program.cs b/OpenAI.Playground/Program.cs index 7a060322..dac9d7e5 100644 --- a/OpenAI.Playground/Program.cs +++ b/OpenAI.Playground/Program.cs @@ -43,14 +43,16 @@ // |-----------------------------------------------------------------------| await ChatCompletionTestHelper.RunSimpleChatCompletionTest(sdk); -//await ChatCompletionTestHelper.RunSimpleCompletionStreamTest(sdk); -await ChatCompletionTestHelper.RunChatFunctionCallTest(sdk); -await ChatCompletionTestHelper.RunChatFunctionCallTestAsStream(sdk); -//await FineTuningJobTestHelper.RunCaseStudyIsTheModelMakingUntrueStatements(sdk); // Vision //await VisionTestHelper.RunSimpleVisionTest(sdk); //await VisionTestHelper.RunSimpleVisionStreamTest(sdk); //await VisionTestHelper.RunSimpleVisionTestUsingBase64EncodedImage(sdk); + +//await ChatCompletionTestHelper.RunSimpleCompletionStreamTest(sdk); +//await ChatCompletionTestHelper.RunChatFunctionCallTest(sdk); +//await ChatCompletionTestHelper.RunChatFunctionCallTestAsStream(sdk); +//await FineTuningJobTestHelper.RunCaseStudyIsTheModelMakingUntrueStatements(sdk); + // Whisper //await AudioTestHelper.RunSimpleAudioCreateTranscriptionTest(sdk); //await AudioTestHelper.RunSimpleAudioCreateTranslationTest(sdk); diff --git a/OpenAI.SDK/OpenAI.csproj b/OpenAI.SDK/OpenAI.csproj index eb99be6f..88c679df 100644 --- a/OpenAI.SDK/OpenAI.csproj +++ b/OpenAI.SDK/OpenAI.csproj @@ -11,7 +11,7 @@ OpenAI-Betalgo.png true OpenAI SDK by Betalgo - 7.4.1 + 7.4.2 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 18513b0d..9656859c 100644 --- a/Readme.md +++ b/Readme.md @@ -28,7 +28,9 @@ Maintenance of this project is made possible by all the bug reporters, [contribu [@AnukarOP](https://github.com/AnukarOP) [@Removable](https://github.com/Removable) ## Features -- [ ] Dev day Updates (Some updates are currently available, while others will be released soon. Please follow the changelogs for more information.) +- [x] Dev day Updates +- [x] Vision Api +- [X] Tools - [X] [Function Calling](https://github.com/betalgo/openai/wiki/Function-Calling) - [ ] Plugins (coming soon) - [x] [Chat GPT](https://github.com/betalgo/openai/wiki/Chat-GPT) @@ -292,6 +294,13 @@ 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 +### 7.4.2 +- Let's start with breaking changes: + - OpenAI has replaced function calling with tools. We have made the necessary changes to our code. This is not a major change; now you just have a wrapper around your function calling, which is named as "tool". The Playground provides an example. Please take a look to see how you can update your code. + This update was completed by @shanepowell. Many thanks to him. +- Now we support the Vision API, which involves passing message contents to the existing chat method. It is quite easy to use, but documentation was not available in the OpenAI API documentation. +This feature was completed by @belaszalontai. Many thanks to them. + ### 7.4.1 - Added support for "Create Speech" thanks to @belaszalontai / @szabe74 ### 7.4.0