I'm using Luis for the first time to try to create an intent on an ecommerce store which recognises product categories and their sub categories.
The first requirement is that it can answer the following queries
"Show me some jeans" "Show me some bootcut jeans"
So, obviously it will show products from the main category or sub categories depending in what it detects. The second requirement is that it recognises...
"Show me some dark jeans"
In this instance "dark" isn't a sub-category, it's just a tag or attribute, so an adjective rather than a noun.
So far I've created an intent and tried various ways of creating the sub categories as entities. The obvious way seems to be hierarchical but this seems to assume that the child entities are the same no matter what the parent entity is. This obviously isn't right because the sub-categories of jeans are different from the sub-categories of dresses.
I haven't even made it as far as making entities from all the tags but I'd really appreciate any advice.