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

[Telephony] SerialNumberInput should support multi-lang and custom user-provided substitutions #1450

Open
2 tasks
stevengum opened this issue Jan 3, 2023 · 0 comments
Labels
Area: Docs Documentation issue (missing needs updates, etc.) ExemptFromDailyDRIReport Use this label to exclude the issue from the DRI report. feature-request A request for new functionality or an enhancement to an existing one. P0 Must Fix. Release-blocker Size: M The issue is not very complex and it is well understood, it will take 1 to 3 days to complete

Comments

@stevengum
Copy link
Member

Is your feature request related to a problem? Please describe.

The SerialNumberInput node in latest (41e71b7) only supports a very small amount of substitutions for only English.

Substitutions (or disambiguating user input) become relevant when Speech-to-Text is involved with a chatbot (e.g., the Telephony channel). A user might say the letter "A", but STT might record it as the number "8", which would result in the user proceeding down an unhappy path. This issue applies for other languages as well, which means the lack of multi-language support can be a blocker for certain teams using the node.

Describe the solution you'd like

  • Composer users should be able to provide the substitutions tables for languages
  • Code-first users should be able to provide substitutions tables for languages

One potential approach for Composer users would be to have a configurable path with filenames in an expected format, e.g. substitution-en.json, substitution-es.json to provide their own substitution tables. Note the language code after the substitution- prefix. (example substitution-en.json in private repository).

So in the Composer UI, a user might provide the filepath as an input when configuring the node with the substitution files for more granular control. An alternative that has less repetitive configuration would be configuring a bot-level filepath where substitution tables would be found, so that all nodes with substitution support automatically use the tables.

Additional context

Latest PR, that udpated the functionality of the SerialNumberInput node

@stevengum stevengum added P0 Must Fix. Release-blocker Area: Docs Documentation issue (missing needs updates, etc.) ExemptFromDailyDRIReport Use this label to exclude the issue from the DRI report. Size: M The issue is not very complex and it is well understood, it will take 1 to 3 days to complete feature-request A request for new functionality or an enhancement to an existing one. labels Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Docs Documentation issue (missing needs updates, etc.) ExemptFromDailyDRIReport Use this label to exclude the issue from the DRI report. feature-request A request for new functionality or an enhancement to an existing one. P0 Must Fix. Release-blocker Size: M The issue is not very complex and it is well understood, it will take 1 to 3 days to complete
Projects
None yet
Development

No branches or pull requests

1 participant