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

Amazon Transcribe Medical -- ?Correct Sample rate for en-GB #6643

Closed
App-Index opened this issue Nov 8, 2024 · 3 comments
Closed

Amazon Transcribe Medical -- ?Correct Sample rate for en-GB #6643

App-Index opened this issue Nov 8, 2024 · 3 comments
Assignees
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance General information and guidance, answers to FAQs, or recommended best practices/resources. p2 This is a standard priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.

Comments

@App-Index
Copy link

Describe the issue

I am using amazon transcribe medical, when starting a new StartMedicalStreamTranscriptionCommand my paramaters are:

{
    LanguageCode: "en-GB",
    MediaEncoding: "pcm",
    MediaSampleRateHertz: 8000,
    AudioStream: getAudioStream(),
    Specialty: "PRIMARYCARE",
    Type: "CONVERSATION",
  }

However this results in an error:
BadRequestException: The requested language doesn't support the specified sample rate. Use the correct sample rate then try again.

I've tried with 8000-48000 hertz and the same issue persists

Links

Documentation contains no useful information
https://docs.aws.amazon.com/transcribe/latest/dg/how-input.html#:~:text=Sample%20rates%20for%20low%20fidelity,16%2C000%20Hz%20and%2048%2C000%20Hz.

@App-Index App-Index added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Nov 8, 2024
@zshzbh zshzbh self-assigned this Nov 8, 2024
@zshzbh
Copy link
Contributor

zshzbh commented Nov 8, 2024

Hey @App-Index ,

Thanks for the feedback! The root cause of the issue is that the "en-GB" is not supported by Amazon Transcribe Medical . Right now Amazon Transcribe Medical only supports US English (en-US) - reference

Screenshot 2024-11-08 at 10 23 30 AM

Please change the languageCode to

 LanguageCode: "en-US" 

Please let me know if there's any other questions!

Thanks!
Maggie

@zshzbh zshzbh added response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. p2 This is a standard priority issue guidance General information and guidance, answers to FAQs, or recommended best practices/resources. and removed documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Nov 8, 2024
Copy link

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Nov 19, 2024
@zshzbh zshzbh closed this as completed Nov 21, 2024
Copy link

github-actions bot commented Dec 6, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance General information and guidance, answers to FAQs, or recommended best practices/resources. p2 This is a standard priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants