Skip to content

Support for Custom Slots added#219

Open
Lensy2016 wants to merge 1 commit into
johnwheeler:masterfrom
Lensy2016:slot-details
Open

Support for Custom Slots added#219
Lensy2016 wants to merge 1 commit into
johnwheeler:masterfrom
Lensy2016:slot-details

Conversation

@Lensy2016

Copy link
Copy Markdown

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

mattrossman commented Sep 4, 2018

Copy link
Copy Markdown

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
Copy Markdown

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