How to write end to end stories

Hi,

I want to write some end to end stories to evaluate my bot. I have two questions:

  1. Do I have to put the slot set values (for example: - slot{“5min_wizard_direct”: “False”}) in the story?
  2. How can I evaluate my forms? Can I add them to the e2e stories and how should I do this?

hi @rbossie, you can read this blog it may help you:

Hey @rbossie, first of all, I can also recommend reading the tutorial linked by @JiteshGaikwad and also the Rasa docs on forms and slots. Regarding forms, looking at the FormBot will help you.

If, after reading the above, you are still unsure, my answers would be:

  1. Yes, I think you have to include the actual value, i.e. writing just slot{"5min_wizard_direct"} will not work.
  2. Essentially, there is nothing special about evaluating a bot that uses forms. But you have to list FormPolicy in your config.yml, the forms have to be correctly included in your domain.yml file, implemented in your actions.py file, and also appear in the actual stories your bot learns from.

Hope that helps :slight_smile: