Releases: RageAgainstThePixel/com.openai.unity
Releases · RageAgainstThePixel/com.openai.unity
com.openai.unity 8.2.1
com.openai.unity 8.2.0
What's Changed
- Added structured output support
- Added support for Azure OpenAI assistants
- Fixed Azure OpenAI Id parsing for events
- Fixed Assistant.CreateThreadAndRunAsync to properly copy assistant parameters
- Removed stream from CreateThreadAndRunRequest and CreateRunRequest
- They were overridden by the presence of IStreamEventHandler anyway
- com.utilities.rest -> 3.2.3
- com.utilities.encoder.wav -> 1.2.2
Full Changelog: 8.1.2...8.2.0
com.openai.unity 8.1.2
What's Changed
- Added constructor overloads to Tool and Function classes to support manually adding tool calls in the conversation history
Full Changelog: 8.1.1...8.1.2
com.openai.unity 8.1.1
What's Changed
- Added overloads to Assistant streaming event callbacks to include event name: Func<String, IServerSentEvent, Task>
Full Changelog: 8.1.0...8.1.1
com.openai.unity 8.1.0
What's Changed
- Fixed streaming event race conditions where the subscriber to the stream would finish before steam events were executed
- Refactored streaming events callbacks from
Action<IServerSentEvent>
toFunc<IServerSentEvent, Task>
- Added
Exception
data toOpenAI.Error
response - Added
ChatEndpoint.StreamCompletionAsync
withFunc<ChatResponse, Task>
overload
Full Changelog: 8.0.3...8.1.0
com.openai.unity 8.0.3
What's Changed
- Fixed Thread.MessageResponse and Thread.RunStepResponse Delta stream event objects not being properly populated
- Added Thread.MessageDelta.PrintContent()
- Added additional unit tests for delta objects
Full Changelog: 8.0.2...8.0.3
com.openai.unity 8.0.2
What's Changed
- Fixed Thread.Message.Attachement serialization
- Fixed CreateAssistantRequest to properly copy all override assistant properties
- Fixed some objects that are chunked, were not properly being appended to the final object
- Added FileSearchOptions to Tool.FileSearch
- Added some additional constructor overloads for CodeInterpreterResources
- Added some additional constructor overloads for VectorStoreRequest
- Thread.DeleteAsync and Assistant.DeleteAsync now fetch the latest before deleting when deleteToolResources is also requested
- Refactored the way Function handles reflected invocations for both synchronous and asynchronous calls
- Function.InvokeAsync will now properly also call synchronous invocations in the tool call collection
- Refactored Threads/Assistant Unit Tests
Full Changelog: 8.0.1...8.0.2
com.openai.unity 8.0.1
What's Changed
- Fixed Thread.Run.Status enum ordering
- Fixed sample scene
Full Changelog: 8.0.0...8.0.1
com.openai.unity 8.0.0
What's Changed
- Updated Assistants Beta v2
- Added support for specifying project id
- Added BatchEndpoint
- Added VectorStoresEndpoint
- Added Message.ctr to specify specific tool call id, function name, and content
- Renamed OpenAI.Images.ResponseFormat to OpenAI.Images.ImageResponseFormat
- Changed ThreadEndpoint.CancelRunAsync return type from RunResponse to bool
- Fixed Json defined Tools/Functions being improperly added to tool cache
- Added Tool.TryUnregisterTool to remove a tool from the cache
Full Changelog: 7.7.9...8.0.0