Firstly I was just removing the slots I needed from domain and returning them, it was working fine! But now I need to actually set one of the slots to true, but i dont know how to return both the SlotSet and slots_mapped_in_domain at the same time. I tried this, but does not work.
Ve se a resposta dada pelo Chris a um tópico parecido pode te ajudar
mas acho que para esta forma funcionar vc teria que declarar fora das classes um atributo para guardar o valor do slots_mapped…
Did you try this way?
return [SlotSet(“video_na_pagina”, True), slots_mapped_in_domain]
You cannot return events in the required_slots() method, only slot names.
If you want to set slots in a FormValidationAction you’ll need to do it in the extract() or validate() methods.
