l2nguyen / dynamic-forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic forms examples

password_recover_form

Dyanmically add slots to password recover form based on user response.

This also has an example of:

example_flow_form

Dynamically add slots to the example flow form form based on user response. If the user selects the /affirm button, then the next question in the flow will be added to the form.

This also has an example of:

How to use this example?

  1. Train a Rasa model containing the Rasa NLU and Rasa Core models by running:

    rasa train
    

    The model will be stored in the models/ directory as a zipped file

  2. Start your action server

    rasa run actions
    
  3. Test the assistant by running:

    rasa shell --debug
    

    This will load the assistant in your command line for you to chat.

For more information about the individual commands, please check out our documentation.

  1. Activate the relevant form

To activate the password_recover_form, say "I lost my password" or /recover_password to the bot.

To activate the example_flow_form, say "go to dynamic forms example" or /activate_example_flow to the bot.

About


Languages

Language:Python 100.0%