Slot definition for range

Hi I have an data frame as source for my chat bot, where based on the slots i query the data frame and display the results, I have a numerical column, Column A, the user can query to display the results between a range or greater than or lesser than using multiple ways

show me > 100; show me greater than 100; between 70 and 90; lesser than 70; more than 90 and less than 70; 70-90;

how do I extract the start and end value to query my pandas data frame

Hi @Sheik. You could try extracting ranges using the “Roles and Groups” feature in Rasa. In our docs you can find an example for the location (from and to), but this also applies to other use cases like number ranges.

1 Like