Skip to content
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

FIX: Changed AzureSpeechTextToAudioConverter input_type to text and added converter input_supported tests #472

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

jsong468
Copy link
Contributor

In the AzureSpeechTextToAudioConverter class, we mistakenly had input_type of prompt as audio_path instead of test. This PR changes it to text.

Copy link
Contributor

@romanlutz romanlutz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is somewhat concerning to me that tests didn't catch this. Can we add a test where we mock the TTS endpoint and pass (mocked) non-text data to have it raise? Or maybe that should be an issue to do it for all converters... yeah that's probably better. Can you create one? Input validation tests for all converters.

@jsong468 jsong468 changed the title FIX: Changed AzureSpeechTextToAudioConverter input_type to text FIX: Changed AzureSpeechTextToAudioConverter input_type to text and added converter input_supported tests Oct 16, 2024
@jsong468 jsong468 merged commit d403cb1 into Azure:main Oct 17, 2024
5 checks passed
@jsong468 jsong468 deleted the AzureTTSInputFix branch October 17, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants