github1 / ccnext

Event driven call center prototype
1 stars 0 forks source link

Add chat bot slot validation #1

Open github1 opened 6 years ago

github1 commented 6 years ago
github1 commented 6 years ago

Is this done?

tbouchik commented 6 years ago

Not really. I still have to see what to do with the built-in slot types like AMAZON.NUMBER, AMAZON.FOUR_DIGIT_NUMBER... whether they are automatically validated by Lex or not. If we can take care of the whole validation that would be better for fungibility purposes. And also since we haven't any "enumerationValues" property for theses types of slots, we must decide whether we should just check if the user input corresponds to the "slotType" or whether we have to check for instance if the four digit numbers matches what we would have in a potential database, or maybe just a set of enumeration values.