rasarasa-core

How to restrict slot filling in RASA?


how to decide which slot to be filled at a time? How to have control over slot filling?

eg: need to collect details for a hotel room booking, slots are hotel name, person name There is a hotel name "Hotel Michael" (synonym: michael), and if the chatbot asks for the hotel name and user types "Michael" it will be extracted as enity hotel_name and PERSON. Thereby filling two slots at the same time.

I tried collecting details through two different form, but it didn't work, in both forms, both slots are filled at the same time (and i am not sure if i am doing it right)


Solution

  • Use custom slot mapping . please refer this forum https://forum.rasa.com/t/how-to-restrict-slot-filling/46598/11