•   almost 9 years ago

Use dynamic input as slot data

I felt like this should be extremely simple but I can't seem to find anything in the lex console that will allow dynamic user input. For example:

"Remind me to brush my teeth"

Where "brush my teeth" is the user's input, and not some predefined slot.
Is this not possible with lex?

  • 1 comment

  •   •   almost 9 years ago

    hi, yes you can accomplish this with a slot.

    In your example, you can create a slot called "actionInput", and give it a few sample inputs "brush my teeth", "pick up kids", "exercise" etc.

    So if in your intent you define an utterance "remind me to {actionInput}", it will figure out if you say "Remind me to brush my teeth" to match the "brush my teeth" to that slot

Comments are closed.