Describe the feature
We would like the IdentifyMultipleLanguages option to be added to EngineTranscribeSettings for the Chime SDK Meetings StartMeetingTranscriptionCommand API in client-chime-sdk-meetings.
Currently, AWS Chime SDK Meetings live transcription
accepts an EngineTranscribeSettings object that exposes IdentifyLanguage but
not IdentifyMultipleLanguages. The underlying AWS Transcribe streaming
engine already supports IdentifyMultipleLanguages (a single speaker switching languages
mid-utterance — e.g. code-switching), hence we would just like it to be exposed in client-chime-sdk-meetings.
Use Case
I'm currently working on adding live language translation for a tutoring app (https://upchieve.org/) which sometimes serves bilingual students. The app already uses the Chime SDK client-chime-sdk-meetings for audio chat and Chime handles the transcription (e.g. there is no separate call to AWS Transcribe currently). We want to now add language translation in the app, e.g. we plan to use the audio chat transcript to translate appropriately for the student and teacher during live tutoring sessions.
The problem we've encountered is that the Chime SDK does not expose the IdentifyMultipleLanguages option, hence the transcription is done for only one language per participant for the Chime session, which does not support code-switching (e.g. for Spanglish or other language combinations). Hence, we are not able to leverage this for translation downstream, since the incorrect transcription would already be baked in.
In order to support language translation currently, we would have to therefore use a different approach involving changes to the architecture (e.g. sending audio to the backend or to a media insights pipeline), which is currently not the desirable path. However, if IdentifyMultipleLanguages is exposed via the Chime SDK, and Chime outputs transcriptions with a language code per chunk, we can support code-switching with minimal architecture change, which would be a big help.
Note that the same option — IdentifyMultipleLanguages — is already exposed in Chime Media Pipelines (AmazonTranscribeProcessorConfiguration) already. We would prefer to use the other Chime SDK however, since that is much less of an architecture change.
Proposed Solution
No response
Other Information
Code References
You can see that IdentifyLanguage is exposed in the SDK schema, but IdentifyMultipleLanguages is currently missing here:
https://github.com/aws/aws-sdk-js-v3/blob/f8b4987c1d5b52966d536b36200496ea490327b1/clients/client-chime-sdk-meetings/src/schemas/schemas_0.ts
Doc References
You can see IdentifyLanguage is in the Chime SDK API reference, but IdentifyMultipleLanguages is not there. On the other hand, IdentifyMultipleLanguages is listed in the AWS Transcribe API reference, and that's the option for the code-switching case we would like to be exposed in client-chime-sdk-meetings.
Acknowledgements
SDK version used
3.1012.0 (however, the code references cited above are from the main branch, hence the issue is still present)
Environment details (OS name and version, etc.)
N/A
Describe the feature
We would like the
IdentifyMultipleLanguagesoption to be added toEngineTranscribeSettingsfor the Chime SDK MeetingsStartMeetingTranscriptionCommandAPI inclient-chime-sdk-meetings.Currently, AWS Chime SDK Meetings live transcription
accepts an
EngineTranscribeSettingsobject that exposesIdentifyLanguagebutnot
IdentifyMultipleLanguages. The underlying AWS Transcribe streamingengine already supports
IdentifyMultipleLanguages(a single speaker switching languagesmid-utterance — e.g. code-switching), hence we would just like it to be exposed in
client-chime-sdk-meetings.Use Case
I'm currently working on adding live language translation for a tutoring app (https://upchieve.org/) which sometimes serves bilingual students. The app already uses the Chime SDK
client-chime-sdk-meetingsfor audio chat and Chime handles the transcription (e.g. there is no separate call to AWS Transcribe currently). We want to now add language translation in the app, e.g. we plan to use the audio chat transcript to translate appropriately for the student and teacher during live tutoring sessions.The problem we've encountered is that the Chime SDK does not expose the
IdentifyMultipleLanguagesoption, hence the transcription is done for only one language per participant for the Chime session, which does not support code-switching (e.g. for Spanglish or other language combinations). Hence, we are not able to leverage this for translation downstream, since the incorrect transcription would already be baked in.In order to support language translation currently, we would have to therefore use a different approach involving changes to the architecture (e.g. sending audio to the backend or to a media insights pipeline), which is currently not the desirable path. However, if
IdentifyMultipleLanguagesis exposed via the Chime SDK, and Chime outputs transcriptions with a language code per chunk, we can support code-switching with minimal architecture change, which would be a big help.Note that the same option —
IdentifyMultipleLanguages— is already exposed in Chime Media Pipelines (AmazonTranscribeProcessorConfiguration) already. We would prefer to use the other Chime SDK however, since that is much less of an architecture change.Proposed Solution
No response
Other Information
Code References
You can see that
IdentifyLanguageis exposed in the SDK schema, butIdentifyMultipleLanguagesis currently missing here:https://github.com/aws/aws-sdk-js-v3/blob/f8b4987c1d5b52966d536b36200496ea490327b1/clients/client-chime-sdk-meetings/src/schemas/schemas_0.ts
Doc References
You can see
IdentifyLanguageis in the Chime SDK API reference, butIdentifyMultipleLanguagesis not there. On the other hand,IdentifyMultipleLanguagesis listed in the AWS Transcribe API reference, and that's the option for the code-switching case we would like to be exposed inclient-chime-sdk-meetings.Acknowledgements
SDK version used
3.1012.0 (however, the code references cited above are from the main branch, hence the issue is still present)
Environment details (OS name and version, etc.)
N/A