We have received an extract variables widget, which helps alot to streamline later function calls by defining the values seperately.
Sometimes, there is nothing to extract though, but I still want to set a variable. For example: when someone goes from one node to another in a conversation flow (because they ask for a refund for example) I want to set the variable "call-intent" to "refund". I don't want to extract anything from what they said, I just want that single word.
Sure, I can use gather to do this, or I can put it in my prompt. But if I later have to make a function call where I need to send call-intent as a set value from an enum list, there is a real chance for it to hallucinate and break this.
Is there any better options to hard-assign dynamic variables in a way now? And is this otherwise something that would help others?