aws-samples / amazon-transcribe-live-meeting-assistant

MIT No Attribution
46 stars 10 forks source link

CustomVocabulary does not work when combined with identify-language or identify-multiple-languages #42

Closed rstrahan closed 3 weeks ago

rstrahan commented 1 month ago

Describe the bug

CustomVocabulary does not work when combined with identify-language or identify-multiple-languages

This message is logged by WebSocket transcriber:

BadRequestException: You must specify the custom vocabularies in the vocabularyNames parameter when using language identification or multiple language identification.

On looking at API spec, when using identify-language or identify-multiple-languages, any Custom Vocabularies must be specified as VocabularyNames - not VocabularyName

To Reproduce Steps to reproduce the behavior:

Choose identify-language or identify-multiple-languages, AND specific a CustomVocabulary.

Expected behavior

Template parameter CustomVocabulary should accept a list of vocab names for use as VocabularyNames when using identify-language or identify-multiple-languages.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

rstrahan commented 1 month ago

In the meantime added a check for unsupported combination of CV or CLM with LanguageID

rstrahan commented 3 weeks ago

Check added in v0.1.6 - no immediate plans to add multi-language CV or CLM unless requested by customer.