-
-
Notifications
You must be signed in to change notification settings - Fork 84
com.openai.unity 8.6.6 #366
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
Conversation
- fix mp3 and wav playback from SpeechRequests
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 addresses two main issues: fixing mp3 and wav playback for SpeechRequests and adding new SemanticVAD options for realtime sessions. Key changes include updating the realtime test to use the new DisabledVAD, refactoring VoiceActivityDetectionSettings into an interface with multiple implementations (DisabledVAD, SemanticVAD, ServerVAD), and adjusting JSON conversion and SessionConfiguration to work with the new types.
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
Tests/TestFixture_13_Realtime.cs | Updated test to instantiate new DisabledVAD |
Runtime/Realtime/VoiceActivityDetectionSettings.cs | Refactored settings into an interface and added new VAD classes |
Runtime/Realtime/TurnDetectionType.cs | Added new enum member for Semantic_VAD |
Runtime/Realtime/SessionConfiguration.cs | Changed parameter type and default instantiation to ServerVAD |
Runtime/OpenAIClient.cs | Minor update in JSON converter initialization |
Runtime/Extensions/VoiceActivityDetectionSettingsConverter.cs | Updated converter to handle new IVoiceActivityDetectionSettings types |
Runtime/Audio/SpeechClip.cs | New SpeechClip constructor for AudioClip integration |
Runtime/Audio/AudioEndpoint.cs | Adjustments for PCM handling and improved audio response routing |
Files not reviewed (1)
- OpenAI/Packages/com.openai.unity/package.json: Language not supported
OpenAI/Packages/com.openai.unity/Runtime/Extensions/VoiceActivityDetectionSettingsConverter.cs
Outdated
Show resolved
Hide resolved
…ityDetectionSettingsConverter.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- fix mp3 and wav playback from SpeechRequests - added SemanticVAD options to realtime - added new audio models to static model list --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.