- Newest
- Most votes
- Most comments
It was happen because Lex V2 uses speech-to-text before slot resolution which the transcription engine may drop or misinterpret the zero in "DN20", especially if it's spoken quickly or without clear separation, the AMAZON.UKPostalCode slot type only supports specific formats and does not validate actual postcodes, just the structure.
https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-uk-postal-code.html
Hey,
Hope you're keeping well.
This is likely an Amazon Transcribe issue rather than Lex slot resolution. Lex V2 voice bots rely on Transcribe to convert speech to text, and certain number sequences (like “twenty” vs “two zero”) can be misinterpreted if spoken quickly. You can improve accuracy by enabling a custom vocabulary in your bot’s voice configuration with entries for “DN20” and similar postcodes, or by switching the slot type to a custom regex pattern that accepts the raw transcription. In the console, edit your bot’s locale settings, add a custom vocabulary file, and redeploy so Transcribe recognizes those patterns more reliably.
Thanks and regards,
Taz
answered a year ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 4 years ago
