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 theOpenAI.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
, andGetJobCheckpoints
to returnIEnumerable<ClientResult>
instead ofClientResult
. (5773292) - Updated the batching pagination method
GetBatches
to returnIEnumerable<ClientResult>
instead ofClientResult
. (5773292) - Changed
GeneratedSpeechVoice
from an enum to an "extensible enum". (79014ab) - Changed
GeneratedSpeechFormat
from an enum to an "extensible enum". (cc9169a) - Renamed
SpeechGenerationOptions
'sSpeed
property toSpeedRatio
. (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 forranking_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)