v7.0.0
7.0.0
- The code now supports .NET 7.0. Big cheers to @BroMarduk for making this happen.
- The library now automatically disposes of the Httpclient when it's created by the constructor. This feature is thanks to @BroMarduk.
- New support has been added for using more than one instance at the same time. Check out this link for more details. Thanks to @remixtedi for bringing this to my attention.
- A lot of small improvements have been done by @BroMarduk.
- Breaking Changes 😢
- I've removed 'GPT3' from the namespace, so you might need to modify some aspects of your project. But don't worry, it's pretty simple! For instance, instead of writing
using OpenAI.GPT3.Interfaces
, you'll now writeusing OpenAI.Interfaces
. - The order of the OpenAI constructor parameters has changed. It now takes 'options' first, then 'httpclient'.
//Before var openAiService = new OpenAIService(httpClient, options); //Now var openAiService = new OpenAIService(options, httpClient);
- I've removed 'GPT3' from the namespace, so you might need to modify some aspects of your project. But don't worry, it's pretty simple! For instance, instead of writing
What's Changed
- Dispose HttpClient when created internally. by @BroMarduk in #243
- Fixes for Exception Warnings by @BroMarduk in #262
- Fixes for Warnings where CREFS are used instead of HREFS by @BroMarduk in #264
- DotNET 7 Project Support by @BroMarduk in #261
- Added support for multiple instance by @kayhantolga in #258
- removed GPT3 from namespace by @kayhantolga in #269
- nuget symbols by @kayhantolga in #272
- Version 7.0.0 by @kayhantolga in #271
- version bump for v7.0.0 by @kayhantolga in #275
New Contributors
- @BroMarduk made their first contribution in #243
Full Changelog: v6.8.6...v7.0.0