OpenAI .NET sdk - ChatGPT, Whisper, GPT-3, GPT-4, Azure OpenAI and DALL-E
MIT License
Bot releases are hidden (Show)
Published by kayhantolga over 1 year ago
name
field. thanks to @shanepowellFineTuneCreateRequest.PromptLossWeight
converto to float thanks to @JohnJ0808Full Changelog: https://github.com/betalgo/openai/compare/v6.8.5...v6.8.6
Published by kayhantolga over 1 year ago
BindConfiguration
and avoid building a service provider. by @Swimburger in https://github.com/betalgo/openai/pull/225
FileStream
property for audio file in addition to byte array by @Swimburger in https://github.com/betalgo/openai/pull/224
Full Changelog: https://github.com/betalgo/openai/compare/v6.8.4...v6.8.5
Published by kayhantolga over 1 year ago
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"),
});
Published by kayhantolga over 1 year ago
Sexualminors
to SexualMinors
. Thanks to @HowToDoThis.TokenCount
that returns the number of tokens instead of a list.Full Changelog: https://github.com/betalgo/openai/compare/v6.8.0...v6.8.1
Published by kayhantolga over 1 year ago
Full Changelog: https://github.com/betalgo/openai/compare/v6.7.3...v6.8.0
Published by kayhantolga over 1 year ago
ChatMessage.FromAssistance
is now ChatMessage.FromAssistant
. Thanks to @SwimburgercleanUpCREOL
. You can use this option to clean up Windows-style line endings. Thanks to @gspentzas1991Full Changelog: https://github.com/betalgo/openai/compare/v6.7.2...v6.7.3
Published by kayhantolga over 1 year ago
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.
Full Changelog: https://github.com/betalgo/openai/compare/v6.7.1...v6.7.2
Published by kayhantolga over 1 year ago
Introduced support for Whisper.
Grateful thanks to @shanepowell for contributing RetrieveFileContent.
Added support for skip options validation
Implement the OpenAIFile RetrieveFileContent method. by @shanepowell in https://github.com/betalgo/openai/pull/120
Fix OpenAIService.RetrieveFile not returning the correct data. by @shanepowell in https://github.com/betalgo/openai/pull/121
Feature/add whisper support by @kayhantolga in https://github.com/betalgo/openai/pull/132
Feature/version bump 6.7.1 by @kayhantolga in https://github.com/betalgo/openai/pull/133
v6.7.1 by @kayhantolga in https://github.com/betalgo/openai/pull/134
Full Changelog: https://github.com/betalgo/openai/compare/v6.7.0...v6.7.1
Published by kayhantolga over 1 year ago
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.
Full Changelog: https://github.com/betalgo/openai/compare/v6.6.8...v6.7.0
Published by kayhantolga over 1 year ago
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.
Full Changelog: https://github.com/betalgo/openai/compare/v6.6.7...v6.6.8
Published by kayhantolga over 1 year ago
Added Cancellation Token support, thanks to @robertlyson
Updated readme file, thanks to @qbm5, @gotmike, @SteveMCarroll
Full Changelog: https://github.com/betalgo/openai/compare/v6.6.6...v6.6.7
Published by kayhantolga over 1 year ago
CreateCompletionAsStream is now available, big thanks to @qbm5
Full Changelog: https://github.com/betalgo/openai/compare/v6.6.5...v6.6.6
Published by kayhantolga over 1 year ago
Full Changelog: https://github.com/betalgo/openai/compare/v6.6.4...v6.6.5
SetDefaultEngineId()
replaced by SetDefaultModelId()
RetrieveModel(modelId)
will not use the default Model anymore. You have to pass modelId as a parameter.engine
keyword with the new model
keywordPublished by kayhantolga almost 2 years ago
Full Changelog: https://github.com/betalgo/openai/compare/v6.6.3...v6.6.4
Published by kayhantolga almost 2 years ago
Bug-fix, now we are handling logprops response properly, thanks to @KosmonikOS
Code clean-up, thanks to @KosmonikOS
Full Changelog: https://github.com/betalgo/openai/compare/v6.6.2...v6.6.3
Published by kayhantolga almost 2 years ago
stop
and stopAsList
, thanks to @PatapumPublished by kayhantolga almost 2 years ago
Models.ModelNameBuilder()
you may consider using it.Published by kayhantolga almost 2 years ago
Published by kayhantolga almost 2 years ago
Published by kayhantolga almost 2 years ago