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

Expandable Utterance in Channel Config #10

Open
rgauss opened this issue Apr 8, 2016 · 0 comments
Open

Expandable Utterance in Channel Config #10

rgauss opened this issue Apr 8, 2016 · 0 comments

Comments

@rgauss
Copy link
Contributor

rgauss commented Apr 8, 2016

From pull request #9:

Would be nice to be able to provide expandable utterance_name, i.e.

utterance_name: 'watch {NGC|National Geographics}'

this generates

WatchTivoWatch{NGC|National Geographics} to watch NGC
WatchTivoWatch{NGC|National Geographics} watch NGC
WatchTivoWatch{NGC|National Geographics} to watch National Geographics
WatchTivoWatch{NGC|National Geographics} watch National Geographics

which is not accepted by amazon.

The current code should already remove the spaces, but could easily convert the curly braces and pipes to something acceptable as an intent name:

WatchTivoWatchNGC_NationalGeographics to watch NGC

There would still be the problem of the responses being unintelligible.

Perhaps an optional response could be used if present in the channel configuration, otherwise use the first variation in the utterance expansion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant