github Azure/azure-sdk-for-net Azure.AI.OpenAI_2.0.0-beta.5

latest releases: Microsoft.Extensions.Azure_1.8.0, Azure.Developer.MicrosoftPlaywrightTesting.NUnit_1.0.0-beta.2, Azure.Developer.MicrosoftPlaywrightTesting.TestLogger_1.0.0-beta.2...
pre-release2 months ago

2.0.0-beta.5 (2024-09-03)

This update increments library compatibility to OpenAI 2.0.0-beta.11, including several breaking changes.

Features Added

  • Added the OpenAIChatModelFactory in the OpenAI.Chat namespace (a static class that can be used to instantiate OpenAI models for mocking in non-live test scenarios). (79014ab)

Breaking Changes

  • Updated fine-tuning pagination methods GetJobs, GetEvents, and GetJobCheckpoints to return IEnumerable<ClientResult> instead of ClientResult. (5773292)
  • Updated the batching pagination method GetBatches to return IEnumerable<ClientResult> instead of ClientResult. (5773292)
  • Changed GeneratedSpeechVoice from an enum to an "extensible enum". (79014ab)
  • Changed GeneratedSpeechFormat from an enum to an "extensible enum". (cc9169a)
  • Renamed SpeechGenerationOptions's Speed property to SpeedRatio. (cc9169a)

Bugs Fixed

  • Corrected an internal deserialization issue that caused recent updates to Assistants file_search to fail when streaming a run. Strongly typed support for ranking_options is not included but will arrive soon. (cc9169a)
  • Mitigated a .NET runtime issue that prevented ChatResponseFormat from serializing correct on targets including Unity. (cc9169a)

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.