I want to set a slot from an NLP component. As for setting the user input language.
Is this possible?
What I want to do, is to ask wikipedia, and I want to find out what language to ask.
I have defined a “language” slot, but I don’t know hot to fill it with a value, that can survive even if an action calls “AllSlotsReset()”.
I have a language identifier, I have created a custom NLU component, but I don’t know how to set the slot from the component.
Yes, I defined a categorical slot, and then I am using an entity with the same name to auto_fill it. I have a component that does language detection in the pipeline, to support multiple languages.