How can I split several sentences to feed the model before intent classify?

How I encountered this problem:

The user input has several sentences; –For example: Hi Rachel! Do you know where is the nearest hospital? I’m not feeling well.

If I feed all these sentences to my NLU model, the DIET classier will match a wrong intent sometimes and the confidence is below 80%. :cold_sweat: If I only feed one key sentence, for example, Do you know where is the nearest hospital? ,the intent result will be more accurate and the confidence is over 90%. :star_struck:

I’ve read the bolg:https://rasa.com/blog/how-to-handle-multiple-intents-per-input-using-rasa-nlu-tensorflow-pipeline/ The blog case defines the multiple intents before head.

Is there a way to solve this problem? Or It’s only due to my NLU training data doesn’t cover enough cases?

1 Like

Yes you probably need to have more examples without going into more complicated stuff :slight_smile:

Got it. Thanks @ChrisRahme

1 Like