Bot is repeating the question:

My bot is asking the same question multiple times like take an example of weatherbot. Now it is asking ‘In which Location?’ more than once.

It has took the value in slots at once but it is still asking the same question.

e.g.

User: I want to know the weather.

Bot: In which location?

User: In New Delhi.

Bot: In which location?

User: In New Delhi.

Bot: In which location?

User: In New Delhi.

Bot: In which location?

User: In New Delhi.

Bot: In which location?

User: In New Delhi.

When I debug it, It shows bot took the value of location in the slot in its first attempt only.

How can I resolve this?

Can you run this example with the --debug option? This would give us more insights into what may cause this.

Quick idea: Try adding a few more similar stories or copies of this one to your stories.md and see if it still happens.

Hi, @smn-snkl I am sending you the debug logs:

Sorry for my late reply.

Assuming that Lotto Amigo is a game that you want to purchase a ticket for in this story, it seems like your intent classification (Rasa NLU) training didn’t go well. Your bot seems to always identify the message as a “purchase” intent with pretty high probability as well. Can you share your intent training data / configs as well?

What might be the case is that you have many training examples for the “purchase” intent, but haven’t trained the “inform” intent very well. I’m not sure how you’re training the intent to inform about which game you want tickets for, but you probably want to use a generic “inform” intent such as in the weather bot example here: Slot Filling

Unless you have a definite list of games, then you can use lookup tables to increase your “inform” accuracy.

Problem Solved by adding more story.