Boolean slot handling

Hi there,

How are boolean slots treated? Does the value have to be False or True, of does Rasa look if the slot is filled at all (and based on that True of False)?

If the first scenario applies, how do I fill a slot correctly? SlotSet(“slotname”, True) ?

So the boolean slot is set to False when it’s not filled, or when you set it to False. And yes you can set the Slot to True exactly how you’ve written it there

1 Like

Thank you! Works like a charm. When writing stories I wrote “True” instead of true. This didn’t give an error but was still invalid. Fixed it and it works as it should! Thank you :slight_smile: