Retrieval intent chitchat user warning

I got the following warinng when I was trying to use retireval intents chitchat. what should I do?

UserWarning: Your training data contains an example ‘funny’ for the chitchat/ask_joke intent. You either need to add a response phrase or correct the intent for this example in your training data. If you intend to use Response Selector in the pipeline, the training may fail.

You need to implement a response called utter_chitchat/ask_joke

I have added the response of utter_chitchat/ask_joke in my domain.yml file. But the warning still appeared.

Does the bot answer correctly when you ask for a joke?

Thank you for your kind reply.

I have solved this question by putting utter_chitchat/xxx responses from domain.yml file to nlu.yml file following the suggestion in this answer. Maybe domain.yml cannot recognize these chitchat responses? I guess.

1 Like

That’s really weird. I put mine in the domain and it’s working fine.

Glad you solved it though, please mark your answer as solution :slight_smile:

Do you mind sharing the output of rasa --version as well?

Rasa Version      :         2.8.6
Minimum Compatible Version: 2.8.0
Rasa SDK Version  :         2.8.2
Rasa X Version    :         0.42.2
Python Version    :         3.8.11
Operating System  :         Linux-5.11.0-37-generic-x86_64-with-glibc2.17
Python Path       :         /home/kuan/anaconda3/envs/rasa/bin/python
1 Like