Overall I want to call a Custom Action which is connected to an Intent, so it doesn’t matter whom would be called in first place.
I’ve seen Rich Responses through Buttons which can handle this behaviour in some way but I’m tied to the Client and the User Input and no Buttons.
Does anyone of you have a clue/link to solve this problem?
Appreciate your help in advance!
It seems it is not possible to bypass the NLU through POST-method or do you know another approach?
To be more clear what I want to achieve:
Every time a User sends a specific string a specific Intent/Action should be called without the intent classification of rasa. So I want to tell Rasa: Hey look I’ve got this UserInput and he wants to trigger the intentXYZ, so just do what is commanded
I did this to some of by intents since the messages are computer generated. And then I investigated the execution time from when I send of the message to a response is received. The time in the action server for the intent is only 20% of the entire execution time.
And if I run the rasa server with --debug, there is a lot of processing going on anyway.
Is there a way to exclude even more rasa server execution and just have it set the slots and doing no prediction and other things for these intents?
Could I maybe change something in the config.yml file to do that?
Did some more test on this topic and it actually takes longer time through the rasa server using the method described in this post. I was expecting it to be faster.
When removing the intents from the nlu.yml file it does not make any difference either.
Could I use " Core request to execute a custom action" - Rasa & Rasa Pro Documentation
to call the actions server directly from my front-end for computer generated intents to bypass the Rasa server?
I tried it and it took 2 seconds off my normal 5 second round trip.But still the action code takes around 1 second so there is a 2 second overhead even though the action is called this way. Some is most likely due to interfaces beween by the test program, the rasa server and and the actions server. But 2 seconds for that? And the action calls 2 internet apis and three local databases.