[Telephony] SerialNumberInput should support multi-lang and custom user-provided substitutions #1450
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
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
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 thesubstitution-
prefix. (examplesubstitution-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
nodeThe text was updated successfully, but these errors were encountered: