-
-
Notifications
You must be signed in to change notification settings - Fork 76
com.openai.unity 8.7.0 #371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Added support for Responses API - Updated speech requests with instructions input - Updated audio transcription requests with ChunkingStrategy and includes
first pass responses unit test
update tool choice fallback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces several changes to update the API and improve functionality in the Unity SDK, including renaming response format types, adding support for new parameters (such as instructions, chunking strategy, and include options), and updating static model definitions and API versions.
- Renamed ChatResponseFormat and ResponseFormatObject to TextResponseFormat and TextResponseFormatConfiguration respectively
- Added new overloads and parameters to SpeechRequest and AudioTranscriptionRequest for enhanced control and configuration
- Updated API versioning and added new enum and interface definitions to support expanded functionality
Reviewed Changes
Copilot reviewed 183 out of 183 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
Runtime/Common/ListResponse.cs | Updated generic constraint from BaseResponse to IListItem |
Runtime/Authentication/OpenAISettings.cs | Consolidated caching assignment adjustment for settings info |
Runtime/Audio/AudioTranscriptionRequest.cs | Added overloads and input validation for chunking and include parameters |
Others | Consistent renaming to use TextResponseFormat and related configuration types |
Comments suppressed due to low confidence (1)
OpenAI/Packages/com.openai.unity/Runtime/Common/ListResponse.cs:11
- The generic constraint has been updated from 'BaseResponse' to 'IListItem'. Confirm that all intended types implement 'IListItem' and update any related documentation if necessary.
where TObject : IListItem
Uh oh!
There was an error while loading. Please reload this page.