Reputation: 73
I am using LUISDialog to communicate with luis and added business logic for each intent. During actual conversation, LuisDialog sends the utterance directly to luis and returns the result to my method. For a use case, I need to pre-process the utterance before the dialog sends it to LUIS. Is there a way to interrupt and add pre-processing logic?
Thanks for help.
Upvotes: 3
Views: 141
Reputation: 14787
You could override the GetLuisQueryTextAsync method, that is the method responsible from extracting the utterance out of the message.
The text obtained from that method is then being sent to Luis (as you can see here).
Upvotes: 1