I have a form which is working fine but I want to have some “variables” I want to use for storing additional calculated values I will use in the final output.
Can somebody guide me on the best way to manage “session” or “conversation” variables for each conversation? I thought slots as a way of temporarily storing this information but couldn’t see an easy way of simply updating a key/value pair for slots. Any guidance really appreciated.
Hi @pomegran, when you quite a validation action, the validate_{slot_name} function returns a dictionary of slot names and values. While this is commonly used to update the value of that specific slot_name slot, you can also update other values as well. An example of that can be found here.