I am wondering what is the ideal way to define entities of different kinds with interval value. e.g. with maximum and minimum number.
I tried to define a number-interval
entity with min and max values. Then defined a price-range
composite entity with @number-interval
+ @sys.currency-name
. (See attached images)
There are two issues with this. First, there are too many ways for user to say it. For instance, it can recognize User says: above 12 USD
but can not recognize User says: more than 12 USD
Is there any better way to define it that uses system entities?
For example, let's say we want to collect two different values from user.
The other problem is, let's say we want to collect two different kind values from user. How to distinguish the correct entity (price_range vs. size_range)?
Example:
user says: 1200 to 1500
in get_price action. should return@price-range
user says: 9-10
in get_size action. should return@size-range
P.S. Entities: