Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

DialogFlow ES can't detect intent even with exact training phase

I just created a prebuilt agent (Food-Delivery) to test out of the box. I am testing out the delivery.product.add intent. One of the training phrases is "can I have 2 burgers with fries".

When I try to test the agent with the exact phrase "can I have 2 burgers with fries", it returns the fallback intent.

I can't imagine Google's NLU being this bad. There must be something I am missing here?

0 2 872
2 REPLIES 2

There could be a few reasons why the intent isn't being recognized correctly:

The intent might not have enough varied examples or might need more examples of similar requests to understand the pattern accurately. It's possible that the training data doesn't cover all the potential ways users might phrase this request. Also, there might be another intent with similar training phrases, causing confusion for the model. Review other intents and their training phrases to ensure there's no overlap or ambiguity.

Incorrect entity recognition could lead to misinterpretation of the user's request. Check if the entities "2 burgers" and "fries" are properly configured and recognized by the model. Adjust the confidence threshold for intent recognition. Sometimes, setting a lower threshold can capture more varied phrases but might also increase the chance of misclassifications.

Reviewing these aspects might help improve the recognition accuracy. If the problem persists, refining the training data with more diverse examples, adjusting entity recognition, or tweaking the model's parameters might be necessary.

Hi @jtoh0904 I dont recommend you to use a prebuilt agent because they just work for very specific use cases.

Instead, create a flow using a UML/Chart APP, then create entities for products and categories, then create a composite entity named as order and reference @product @categories, you can get all the data into one object and if you want to add more categories/products you can add it directly from its own entity.

If This intent is not being recognized, kindly check the intent recognition, otherwise check your context structure (if you are not declaring/using contexts on the correct way, that intent will never trigger)