OpenAI .NET sdk - ChatGPT, Whisper, GPT-3, GPT-4, Azure OpenAI and DALL-E
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/betalgo/openai/compare/v8.2.2...v8.3.0
Published by kayhantolga 5 months ago
"UseBeta": true
in your config file or serviceCollection.AddOpenAIService(r => r.UseBeta = true);
or new OpenAiOptions { UseBeta = true }
in your service registration to enable Assistant features.StreamOptions = new(){IncludeUsage = true,}
to get usage information).Full Changelog: https://github.com/betalgo/openai/compare/v8.1.1...v8.2.2
Published by kayhantolga 6 months ago
Full Changelog: https://github.com/betalgo/openai/compare/v8.1.0...v8.1.1
Published by kayhantolga 6 months ago
Full Changelog: https://github.com/betalgo/openai/compare/v8.0.1...v8.1.0
Published by kayhantolga 6 months ago
gpt-4-turbo
and gpt-4-turbo-2024-04-09
thanks to @ChaseIngersolFull Changelog: https://github.com/betalgo/openai/compare/v8.0.0...v8.0.1
Published by kayhantolga 6 months ago
Full Changelog: https://github.com/betalgo/openai/compare/v7.4.7...v8.0.0
Published by kayhantolga 6 months ago
Full Changelog: https://github.com/betalgo/openai/compare/v7.4.6...v7.4.7
Published by kayhantolga 8 months ago
moderation
models and ada embedding 2
modelFull Changelog: https://github.com/betalgo/openai/compare/v7.4.5...v7.4.6
Published by kayhantolga 8 months ago
CreateCompletionAsStream
), there were some unexpected incoming data chunks like :pings
or :events
, etc. @gavi discovered this issue. We are now ignoring these chunks. If you were using it, you need to set justDataMode
to false.Full Changelog: https://github.com/betalgo/openai/compare/v7.4.4...v7.4.5
Published by kayhantolga 9 months ago
TextEmbeddingV3Small
, TextEmbeddingV3Large
, Gpt_3_5_Turbo_0125
, Gpt_4_0125_preview
, Gpt_4_turbo_preview
, Text_moderation_007
, Text_moderation_latest
, Text_moderation_stable
Full Changelog: https://github.com/betalgo/openai/compare/v7.0.4...v7.4.4
Published by kayhantolga 10 months ago
2023-12-01-preview
, which now supports dall-e 3.Full Changelog: https://github.com/betalgo/openai/compare/v7.4.2...v7.4.3
Published by kayhantolga 11 months ago
Full Changelog: https://github.com/betalgo/openai/compare/v7.4.1...v7.4.2
Published by kayhantolga 11 months ago
Full Changelog: https://github.com/betalgo/openai/compare/v7.4.0...v7.4.1
Published by kayhantolga 11 months ago
Full Changelog: https://github.com/betalgo/openai/compare/v7.3.1...v7.4.0
Published by kayhantolga 11 months ago
EnsureStatusCode()
which caused the loss of error information. Initially, I thought it would help in implementing HTTP retry tools, but now I believe it is a bad idea for two reasons.
Full Changelog: https://github.com/betalgo/openai/compare/v7.3.0...v7.3.1
Published by kayhantolga almost 1 year ago
EnsureStatusCode()
after making requests.Please adjust your code accordingly for handling failure cases. Thanks to @miroljub1995 for reporting.abc.com/mypath
as the base domain, we used to ignore /mypath
. This will no longer be the case, and the code will now respect /mypath
. Thanks to @Hzw576816 for reporting.Full Changelog: https://github.com/betalgo/openai/compare/v7.2.0...v7.3.0
Published by kayhantolga about 1 year ago
Added Chatgpt Finetununig support thanks to @aghimir3
Default Azure Openai version increased thanks to @mac8005
Fixed Azure Openai Audio endpoint thanks to @mac8005
Full Changelog: https://github.com/betalgo/openai/compare/v7.1.5...v7.2.0
Published by kayhantolga about 1 year ago
Added error handling for PlatformNotSupportedException in PostAsStreamAsync when using HttpClient.Send, now falls back to SendRequestPreNet6 for compatibility on platforms like MAUI, Mac. Thanks to @Almis90
We now have a function caller describe method that automatically generates function descriptions. This method is available in the utilities library. Thanks to @vbandi
Full Changelog: https://github.com/betalgo/openai/compare/v7.0.3...v7.1.5
Full Changelog: https://github.com/betalgo/openai/compare/v7.1.3...v7.1.4
Published by kayhantolga about 1 year ago
Full Changelog: https://github.com/betalgo/openai/compare/v7.0.0...v7.1.3
Published by kayhantolga over 1 year ago
using OpenAI.GPT3.Interfaces
, you'll now write using OpenAI.Interfaces
.//Before
var openAiService = new OpenAIService(httpClient, options);
//Now
var openAiService = new OpenAIService(options, httpClient);
Full Changelog: https://github.com/betalgo/openai/compare/v6.8.6...v7.0.0