Strange behavior while capturing days using slots

Hello,

I am using slots to capture the days and having some issues. I have used SPACY’s “DATE” to capture. The conversation must flow this way: user: book an appointment

bot: which day?

user: friday

bot: what time?

user: 4 pm

bot: I have booked an appointment for friday at 4 pm

The bot works perfectly fine when I say Tuesday, Thursday, Friday. For all the other 4 days the bot the flow goes like this:

user: book an appointment

bot: which day?

user: Friday

bot: bye (wrong intent)

user: 4 pm

bot: I have booked an appointment for friday at 4 pm

This is really weird. It keeps the flow but for some reason, it is recognizing them as wrong intents. Need some help with why it is happening. Thanks

I guess you don’t have them in your training data?

It’s fixed now. Thanks! I didn’t have enough training examples in my nlu set. Hmm… I thought few examples would be enough as spacy will recognise them but didn’t consider the fact that the the bot needs to identify it as belonging to that particular intent. I’ll keep that it mind from next time.