Wit/Quantity for people
Hi,
i'd like to find the right entity to make my bot understand that quantity: 50 employees
should i take wit/number only for the "50" or wit/quantity for "50 employees" ?
Quantity requires 2 customs entities to works (like liters & milk) despite this would it work ?
Thanks!
Hello, you should use wit/number (wit/quantity is tricky and doesn't work well). Soon we will bring back composite entities that will allow you to do what wit/quantity was supposed to do
Thank you for the tips :) guess numbers cannot understand what they refers to ... like i have to select only 50 and not "50 people" else wit wont understand ?
Correct but if you have different numbers in your queries you can use Roles:https://wit.ai/docs/recipes#differentiate-several-entities-according-to-their-role-in-the-message
Thanks!
In this exemple wit understand that the word "an" isn't a number but in french "an" refers to the same meaning as "one" and is written the same way (un appartement avec 1 salle de bain) could i disabble the function that wit understand numbers in letters as a wit/number ? or Should i go for myself with my own entity "number_people"
