I am building a helpdesk chatbot, where the user can ask about his/her current course progress. As a result, the chatbot asks the user which course he/she wants to know the progress of. After informing the chatbot, the chatbot should tell the user the progress.
However, this does not work as intended. I guess the big problem is, that the courses are similar to many FAQs. E.g. a course name is “AI for beginners” and the FAQ is “What is AI”? So whenever the user informs the chatbot e.g. this course name, he receives the answer of what AI is.
My story for this use case is the following:
- story: Get achievements and courses available
steps:
- intent: get_achievements
- action: action_get_courses
- slot_was_set:
- courses_available: true
- action: utter_ask_which_course
- intent: inform
- slot_was_set:
- current_course_title: "Data2Teach - Wie Daten Schule und Schulen Daten machen"
- action: utter_submit
- action: utter_starting_search_with_parameters
- checkpoint: get_achievements
The slot current course title is defined as follows:
I am happy to provide more information if requested. I’m pretty desperate because I’ve been sitting on this information problem for a really long time and don’t know what to do.
Thanks in advance for your time and help!
Rasa Version : 3.0.6
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.0.4
Rasa X Version : None
Python Version : 3.7.2
Operating System : Darwin-21.5.0-x86_64-i386-64bit
I have the inform-intent: (with just a list of some of the possible courses)
- intent: inform
examples: |
- Erklärbares Maschinelles Lernen für Ingenieurwissenschaften
- Launchpad to Fundamental Questions on AI
- Schule macht KI
- Wegweisende Anwendungen fürs Web
- Wie das Web technisch funktioniert
- Programmieregen fürs Web
- Mensch-Maschine-Interaktion
- Robot Learning
- Den Daten auf der Spur - Der Process Mining Podcast
- Daten- und Algorithmenethik
- AutoML - Automated Machine Learning
- Einführung in die KI
- Erklärbares Maschinelles Lernen für Ingenieurwissenschaften
- Schule macht Daten
- Dr. med. KI
- Team Peer Assessments
I even removed the faq rules for now but it’s still not working. Now the user selects a course with e.g.:
{
"sender": "theresa",
"message": "Von der Datenanalyse zur Datengeschichte – Datenanalyseergebnisse adressatengerecht kommunizieren"
}
and then as a result I just get [].
So I added a new action to valide the course form (which does not do anything different):
You need to follow the form examples. You should look at one of the example bots like the helpdesk-assistant.
You need to replace the entire Get achievements and courses available story with the example I provided based upon the docs. Do the rest of teh dialog with the form (not stories).
I would like to stay connected with you since I’m aso trying to create a financial chatbot of production grade. Feel free to connect @ sushant.sur23@gmail.com