Skip to content

Releases: OkGoDoIt/OpenAI-API-dotnet

v1.11

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 12 Jun 19:06
8e80c75

Adds new embedding models as of March 2024. Also adds support for deterministic seeds.

This is the final release of OkGoDoIt's OpenAI package. Starting with v2.0.0-beta, this library has been adopted by Microsoft. The new official version of the library will have full coverage and will stay fully up-to-date. More details in the blog post here: https://devblogs.microsoft.com/dotnet/openai-dotnet-library/. This github repo will remain here to document my original version of the library through version 1.11, which is still available on Nuget as well. A migration guide to Microsoft's new package is available at https://github.com/openai/openai-dotnet/blob/main/MigrationGuide.md

It's been an exciting 4 years. I hope this library has made AI engineering on .NET easier and more productive for you all!

Full Changelog: v1.10...v1.11

v1.10

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 14 Dec 04:59

Adds text-to-speech as well as audio transcriptions and translations (Whisper)

Recent improvements over the last week also include:

Full Changelog: v1.9...v1.10

v1.9

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 12 Dec 06:23

Adds updated models as of December 11, 2023, including the new GPT-4 Vision, GPT-4 Turbo, and DALL-E 3. Adds json result format. Fixes chat result streaming bug #184.

Full Changelog: v1.8...v1.9

v1.8

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 07 Dec 00:38

What's Changed

  • Added and updated models as of December 6, 2023, including the new GPT 4 Turbo and DALL-E 3.
  • Added support for automatically pruning chat conversation history when it exceeds the context window.

(Support for vision, text-to-speech, and all the new features shown at OpenAI DevDay will be coming soon, but are not yet implemented.)

New Contributors

Full Changelog: v1.7.2...v1.8

v1.7.2

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 02 Apr 17:31

v1.7.2: Minor bugfix for stack overflow in ChatMessageRole, plus add Nuget package icon.

v1.7: Added support for GPT4, streaming conversations with ChatGPT, IHttpClientFactory, and numerous bug fixes

What's Changed

  • Bugfix for stack overflow in ChatMessageRole by @dex3r in #85
  • Allow an HttpClientFactory to be assigned to OpenAIAPI by @babrekel in #103
  • Use interface instead of implementation in Endpoint properties by @babrekel in #104
  • Add streaming methods for Conversation class by @JasonWei512 in #74
  • Fix a bug of function call with parameters in wrong order by @HongxuMeng in #94

New Contributors

Full Changelog: Full Changelog: v1.6...v1.7.2

v1.7

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 02 Apr 09:28

Added support for GPT4, streaming conversations with ChatGPT, IHttpClientFactory, and numerous bug fixes

What's Changed

  • Allow an HttpClientFactory to be assigned to OpenAIAPI by @babrekel in #103
  • Use interface instead of implementation in Endpoint properties by @babrekel in #104
  • Add streaming methods for Conversation class by @JasonWei512 in #74
  • Fix a bug of function call with parameters in wrong order by @HongxuMeng in #94

New Contributors

Full Changelog: v1.6...v1.7

v1.6

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 09 Mar 01:26

Adds support for ChatGPT, DALLE 2 image generations, and the moderation endpoint

What's Changed

  • Add Image API (DALL-E) based on the project's structure. by @stonelv in #50
  • Image API: Fix image api naming and make some properties type-safe by @OkGoDoIt in #65
  • Add Moderations Endpoint by @megalon in #55
  • Feature/moderations by @OkGoDoIt in #66
  • Add Chat endpoint by @megalon in #56
  • Chat endpoint improvements, tests, readme updates, etc by @OkGoDoIt in #67
  • Implement Interfaces for endpoint and api classes by @pandapknaepel in #57
  • Remove redundant character in azure endpoint by @quangsi28 in #51

New Contributors

Full Changelog: v1.5...v1.6

v1.5

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 16 Feb 20:33

Updated to work with the current API as of February 16, 2023. Fixed several minor bugs.
Now also should work with the Azure OpenAI Service, although this is untested.

What's Changed

  • Implement Azure OpenAI Service by @ncface in #40

New Contributors

  • @ncface made their first contribution in #40
  • @KeithHenry contributed several bug fixes and code cleanups

Full Changelog: v1.4...v1.5

v1.4

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 03 Feb 20:01

Updated to work with the current API as of February 3, 2023. Added Files and Embedding endpoints. Removed the Search endpoint as OpenAI has removed that API.

Potentially breaking change with v1.4: The various endpoints (Completions, Models, etc) and related classes have each moved into their own namespaces, for example OpenAI_API.Completions.CompletionRequest and OpenAI_API.Models.Model.DavinciText. You may need to add usings or fully qualify names in existing code. Also the Search endpoint has been removed, although that was already broken.

Thank you @GotMike, @gmilano, @metjuperry, and @Alexei000 for your contributions!

What's Changed

  • a few small typos in comments by @gotmike in #31
  • Add FilesEndpoint (endpoint needed for FineTuning) by @gmilano in #22
  • remove unused usings; add missing properties; by @gotmike in #33
  • updating newtonsoft json to 13.0.2 by @gotmike in #35
  • Added embedding endpoint and tests by @metjuperry in #38

Full Changelog: v1.3...v1.4

v1.3

Choose a tag to compare

@OkGoDoIt OkGoDoIt released this 03 Feb 01:20

Updated to work with the current API as of January 12, 2023. Deprecate the Search endpoint as OpenAI has removed that API. This version includes breaking changes around specifying models to keep up with OpenAI API changes. If you had any code which used the old "engines", that will need to be updated to "models". Support for insertion, edits, and embedding is coming soon.