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

Support for Custom Slots added #219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lensy2016
Copy link

By using a new 'types' map when defining an intent it's possible to request the set of custom slot values for a given value. Without the types map the original behavior is maintained.

A new example is also added that demonstrates this behaviour

I'm not a python coder, so there may be tidier ways of doing bits of this! However it does all seem to work and has been tested by driving the example code in various 'unhappy path' ways.

First commit to add custom slot support to Flask Ask
@mattrossman
Copy link

mattrossman commented Sep 4, 2018

I am surprised that this functionality is not already implemented. I don't want to check for all possible synonyms of a data value in my application, I want to get back a single ID corresponding to each data value. Thanks for adding this.

@ludusrusso
Copy link

I'm also interested in this feature!

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

Successfully merging this pull request may close these issues.

3 participants