Unable to extract range of values using duckling


(Muhammad Ahmad Rana) #1

I am using duckling to extract range of values My question is something like this

Tell all the packages from in range 100 to 500

have created a slot “number” in domain,yml file that gets filled by 100 but how to extracted 500 and save it as its also detected by duckling but not saved in any slot. The way we define roles in wit.ai specify that the first is the starting number and second is the ending how can we do that here?

(Muhammad Ahmad Rana) #2

@Krogsager can you please help me

(Yogesh Kothiya) #3

What is the type of slot “number” ? If it isn’t list then can you try as list type.

Check document: http://rasa.com/docs/core/api/slots_api/#list-slot for more information.