I want to keep repeating a story until user says done or stop. I use buttons for the options presented to the user and these buttons set a slot facility_type.
The dialogue flow can be assumed like this
User - Hi Bot - what do you want to know? 1. Weather 2. Temperature User - 2. Temperature Bot - Provide location User - Someplace (*This sets slot location to Someplace and data is fetched through an API*) Bot - This is the temperature of Someplace Bot - Do you want to explore other options User - Yes Bot - repeats the question again User - 1. Weather Bot - The Weather of Someplace is this. Bot - Do you want to explore other options User - No Bot - Have a good day!
Exploring the forum I found that forms can be used but I still didn’t understand how to implement this loop using forms or checkpoints or rule.
I am new to Rasa and building my first chatbot.
My entities and slots are as follows
entities: - location - facility_type slots: facility_type: type: unfeaturized location: type: unfeaturized