[VoiceLive]Add MAI and additional transcription model support to live tests#45779
Open
[VoiceLive]Add MAI and additional transcription model support to live tests#45779
Conversation
- Add mai-transcribe-1, whisper-1, and azure-speech to transcription model parametrize list - Switch realtime model from gpt-4o-realtime-preview to gpt-realtime-mini - Increase flaky reruns from 1 to 3 for stability - Simplify session config: remove language param, turn_detection, and shorten instructions
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the VoiceLive live realtime service tests to broaden transcription model coverage while aiming to improve test stability and simplify session configuration.
Changes:
- Expand
transcription_modelparametrization to includewhisper-1,azure-speech, andmai-transcribe-1. - Switch the realtime
modelunder test togpt-realtime-mini. - Increase flaky reruns and simplify the session config (remove
language,turn_detection, and shorteninstructions).
Comment on lines
+813
to
+820
| "transcription_model", [ | ||
| "whisper-1", | ||
| "gpt-4o-transcribe", | ||
| "gpt-4o-mini-transcribe", | ||
| "gpt-4o-transcribe-diarize", | ||
| "azure-speech", | ||
| "mai-transcribe-1", | ||
| ] |
| "gpt-4o-transcribe-diarize", | ||
| "azure-speech", | ||
| "mai-transcribe-1", | ||
| ] |
| test_data_dir: Path, | ||
| model: str, | ||
| transcription_model: Literal["gpt-4o-transcribe", "gpt-4o-mini-transcribe", "gpt-4o-transcribe-diarize"], | ||
| transcription_model: Literal["whisper-1", "gpt-4o-transcribe", "gpt-4o-mini-transcribe", "gpt-4o-transcribe-diarize", "azure-speech", "mai-transcribe-1"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines