Hey, today I ask a simple help… I have an action in my actions.py that needs to fill a single slot. I do not want to use a formAction for such a trivial task, so I want to ask. Will this work? :
if check_starter_or_main(food_items[0],restId):
dispatcher.utter_message(text='Do you want that as a starter or main dish? The prices for each is different.')
starter_or_main = self.from_text()
return [SlotSet('starter_or_main',starter_or_main)
Also are there slot properties? Say I want to add a 0-1 flag to a slot… how can I do that?