I’m trying to build a bot that would collect symptoms experienced by users using a form and store them in a database. The prompt is:
text: “Which among these symptoms are you experiencing? If more than one, separate symptoms with a comma (e.g. loss of taste, sore throat)?”
How exactly will these slots be extracted? I thought about assigning the following roles in the Domain file under Slots so later on, I can also assign 1 column per symptom to the database.
You may be interested in a custom validation method. You could use from_text and process the list by separating on commas.
For incorporating checkboxes, it would depend on the channel you intend to deploy the bot. This would be handled using custom json payloads. To which platforms do you intend to share the bot?
The Slack InputChannel extracts interactive responses into the message text field. Although, I don’t see checklist in the list of interactive components in the method below:
Take a look at the text of the user message stored in the tracker:
tracker.latest_message['text'].
or through rasa run —debug
If it’s blank, you should raise an issue on GitHub. You can make the change in rasa.core.channels.slack and submit a pull request. Let us know if you need any other help!