Intent prediction is null when using response selector

Hi all,

I’am using rasa 2.8 and i am trying to create Faq chatbot. To do it, i am referred to this tutorial

Once model is created, i have used rasa shell nlu to see predictions.

For message: What is your name? I have obtained this:

{ “text”: “What is your name?”, “intent”: { “name”: null, “id”: null, “confidence”: 0.0 }, “entities”: [], “intent_ranking”: [], “response_selector”: { “all_retrieval_intents”: [ “chitchat” ], “chitchat”: { “response”: { “id”: 7464391934358672105, “responses”: [ { “image”: “https://i.imgur.com/zTvA58i.jpeg”, “text”: “Hello, my name is Retrieval Bot.” }, { “text”: “I am called Retrieval Bot!” } ], “response_templates”: [ { “image”: “https://i.imgur.com/zTvA58i.jpeg”, “text”: “Hello, my name is Retrieval Bot.” }, { “text”: “I am called Retrieval Bot!” } ], “confidence”: 1.0, “intent_response_key”: “chitchat/ask_name”, “utter_action”: “utter_chitchat/ask_name”, “template_name”: “utter_chitchat/ask_name” }, “ranking”: [ { “id”: 7464391934358672105, “confidence”: 1.0, “intent_response_key”: “chitchat/ask_name” }, { “id”: -440921310072673973, “confidence”: 0.0, “intent_response_key”: “chitchat/ask_weather” } ] } } }

So as an action it predicts: Predicted next action ‘action_default_fallback’ with confidence.

Any help please ???

@Asmacats Heya! Can you please follow this rasa GitHub repo and follow the syntax code. https://github.com/RasaHQ/rasa/tree/main/examples/responseselectorbot

@Asmacats are you able to solve this?

@nik202,

YES. When creating FAQ model we have to use also DIETClassifier in the pipeline and define at least two intents otherwise the model predict “null”.

@Asmacats Please close this thread with marking your above post as solution. Good Luck!