I’m using Rasa to create a Chatbot to reply FAQ to customer by following this guide: Chitchat and FAQs
I’ve trained the model successfully with ~300 FAQs, but when testing NLU I always get the intent with very low confidence (10% → 20%) even when I try with a sample in the training data.
Also, sometimes, it returns wrong intent for sample in the training data.
My system:
Rasa Version : 3.6.19
Minimum Compatible Version: 3.5.0
Rasa SDK Version : 3.6.2
Python Version : 3.10.12
Operating System : Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Python Path : /opt/venv/bin/python
The response_selection_errors.json shows the problem. For example, the following shows that the two intents are easily confused based on the intent titles. I would expect that these two intents could be confused since they are so similar. You could
combine them and answer both questions in the response
try to separate them more clearly by providing clearer separation in the example utterances
{
"text": "chỉ định da của chị phải căng chỉ và tiêm botox mới cải thiện, làm nhiều dịch vụ như thế mặt chị có đơ không em?",
"intent_response_key_target": "faq/ask_cang_da_bang_chi_mat_co_bi_do_khong_do_tuoi_de_cang_da_chi_la_bao_nhieu_",
"intent_response_key_prediction": {
"name": "faq/ask_cang_da_mat_bang_chi_co_gay_nguy_hiem_khong_",
"confidence": 0.08167824149131775
}
},