Releases: betalgo/openai
6.8.5
What's Changed
- Simplify NoWarn by @WeihanLi in #216
- Patch json field name of self-harm for moderation end point by @digitalvir in #210
- Use
BindConfiguration
and avoid building a service provider. by @Swimburger in #225 - Add
FileStream
property for audio file in addition to byte array by @Swimburger in #224 - Fix AudioCreateTranscriptionResponse JSON serialization by @Swimburger in #223
- v6.8.5 by @kayhantolga in #228
New Contributors
- @WeihanLi made their first contribution in #216
- @digitalvir made their first contribution in #210
- @Swimburger made their first contribution in #225
Full Changelog: v6.8.4...v6.8.5
6.8.3
Breaking Changes:
I am going to update library namespace from Betalgo.OpenAI.GPT3 to OpenAI.GPT3. This is the first time I am trying to update my nuget packageId. If something broken, please be patient. I will be fixing it soon. Reverted namespace change, maybe next time.
Small Typo change on model name Model.GPT4 to Model.GPT_4
ServiceCollection.AddOpenAIService(); now returns IHttpClientBuilder which means it allows you to play with httpclient object. Thanks for all the reporters and @LGinC. Here is a little sample
ServiceCollection.AddOpenAIService()
.ConfigurePrimaryHttpMessageHandler((s => new HttpClientHandler
{
Proxy = new WebProxy("1.1.1.1:1010"),
});
6.8.1
6.8.1
- Breaking Change: Typo fixed in Content Moderation CategoryScores, changing
Sexualminors
toSexualMinors
. Thanks to @HowToDoThis. - Tokenizer changes thanks to @IS4Code.
- Performance improvement
- Introduced a new method
TokenCount
that returns the number of tokens instead of a list. - Breaking Change: Removed overridden methods that were basically string conversions.
I think these methods were not used much and it is fairly easy to do these conversions outside of the method.
If you disagree, let me know and I can consider adding them back.
What's Changed
- CreateModerationResponse.Categories fixed Typo mistake by @kayhantolga in #184
- Tokenizer Improvements by @kayhantolga in #185
- v6.8.1 by @kayhantolga in #187
Full Changelog: v6.8.0...v6.8.1
6.8.0
6.8.0
What's Changed
- Add support for .Net Standard 2.0 by @pdcruze in #141
- 6.8.0 by @kayhantolga in #162
New Contributors
Full Changelog: v6.7.3...v6.8.0
6.7.3
- Breaking change:
ChatMessage.FromAssistance
is nowChatMessage.FromAssistant
. Thanks to @Swimburger - The Tokenizer method has been extended with
cleanUpCREOL
. You can use this option to clean up Windows-style line endings. Thanks to @gspentzas1991
What's Changed
- FromAssistant Typo Fix by @kayhantolga in #144
- Fixes newline token counting issue on Windows by @gspentzas1991 in #146
- v6.7.3 by @kayhantolga in #153
New Contributors
- @gspentzas1991 made their first contribution in #146
Full Changelog: v6.7.2...v6.7.3
6.7.2
Removed Microsoft.AspNet.WebApi.Client dependency
The action build device has been updated to ubuntu due to suspicions that the EOL of the vocab.bpe file had been altered in the last few Windows builds.
Added support for TextEmbeddingAdaV2 Model.
What's Changed
- Changed sdk to openAiService, which is the initial name by @simontjell in #135
- Removed Microsoft.AspNet.WebApi.Client dependcy by @kayhantolga in #137
- 6.7.2 by @kayhantolga in #138
- butterfiles by @kayhantolga in #139
New Contributors
- @simontjell made their first contribution in #135
Full Changelog: v6.7.1...v6.7.2
6.7.1
Introduced support for Whisper.
Grateful thanks to @shanepowell for contributing RetrieveFileContent.
Added support for skip options validation
What's Changed
-
Implement the OpenAIFile RetrieveFileContent method. by @shanepowell in #120
-
Fix OpenAIService.RetrieveFile not returning the correct data. by @shanepowell in #121
-
Feature/add whisper support by @kayhantolga in #132
-
Feature/version bump 6.7.1 by @kayhantolga in #133
-
v6.7.1 by @kayhantolga in #134
New Contributors
- @shanepowell made their first contribution in #120
Full Changelog: v6.7.0...v6.7.1
6.7.0
I know we are all excited about new Chat Gpt APIs, so I tried to rush this version. It's nearly 4 AM here.
Be aware! It might have some bugs, also the next version may have breaking changes. Because I didn't like namings but I don't have time to think about it at the moment. Whisper is coming soon too.
We have all been waiting for this moment. Please enjoy Chat GPT API
Added support for Chat GPT API
Fixed Tokenizer Bug, it was not working properly.
What's Changed
- Chat GPT support by @kayhantolga in #117
- v6.7.0 by @kayhantolga in #118
Full Changelog: v6.6.8...v6.7.0
6.6.8
Breaking Changes
Renamed Engine keyword to Model in accordance with OpenAI's new naming convention.
Deprecated DefaultEngineId in favor of DefaultModelId.
DefaultEngineId and DefaultModelId is not static anymore.
Added support for Azure OpenAI, a big thanks to @copypastedeveloper!
Added support for Tokenizer, inspired by @dluc's https://github.com/dluc/openai-tools repository. Please consider giving the repo a star.
These two changes are recent additions, so please let me know if you encounter any issues.
Updated documentation links from beta.openai.com to platform.openai.com.
What's Changed
- Add code of conduct 1 by @kayhantolga in #103
- created Contributing file by @kayhantolga in #104
- Dev by @kayhantolga in #105
- adding azure openai compatibility. by @copypastedeveloper in #107
- Tokinezer support by @kayhantolga in #108
- Feature/code clean up by @kayhantolga in #109
- Version 6.6.8 by @kayhantolga in #110
New Contributors
- @copypastedeveloper made their first contribution in #107
Full Changelog: v6.6.7...v6.6.8
6.6.7
Added Cancellation Token support, thanks to @robertlyson
Updated readme file, thanks to @qbm5, @gotmike, @SteveMCarroll
What's Changed
- Added streaming example to Read.md by @qbm5 in #82
- readme typos; adding links to api key / org id; by @gotmike in #88
- Handle cancellation token in existing endpoints by @robertlyson in #92
- Update Readme.md by @SteveMCarroll in #95
- v6.6.7 by @kayhantolga in #96
New Contributors
- @gotmike made their first contribution in #88
- @robertlyson made their first contribution in #92
- @SteveMCarroll made their first contribution in #95
Full Changelog: v6.6.6...v6.6.7