Grouping Intents with Entities

1 minute read

Entities have the ability to become an umbrella item to contain certain keywords or phrases that are related to each other. By leveraging on this, we can group intents!

How is this useful?

Some intents are very similar to each other, and this can cause conflicts and confusion in the virtual assistant. If intents like these share the same entity, we can group these intents together by said entity.

How does this work?

There can be several variations of the same intent. For example, finding out the price of a product.

Technically wanting to know the price of Product A is a different intent from wanting to know the price of Product B.

Entities allow us to group Product A and Product B together into the product entity, so that we end up with one single intent: Wanting to know the price of a product.

Therefore, entities make the process easily scalable to any number of products or use cases.

Intent 1: What is the price of Product A?

Intent 2: What is the price of Product B?

If Product A & Product B = Product entity

Combined Intent: What is the price of Product?

To learn more about this, check out the full scenario tutorial here


For more information about this article, please reach out to us at cspm@keyreply.com


Entities