How can I get NLU to go to a relevant topic based on a user string and not input?

Ameya5
Kilo Contributor

Hi guys,

I'm currently creating a Greetings topic where the VA asks for user input, and takes that string as a short description when it creates an incident after. Ideally I would like to go to a relevant topic with NLU after the incident is created, but since the input is not at the end, it doesn't work. Any way around this?

1 ACCEPTED SOLUTION

Kenton Dover
Mega Guru

Set the variable "vaVars.global_search_text" to what the user input was and then call "vaSystem.topicDiscovery()" This is what the ootb greetings topic uses to see if an utterance matches an intent for a topic. 

View solution in original post

1 REPLY 1

Kenton Dover
Mega Guru

Set the variable "vaVars.global_search_text" to what the user input was and then call "vaSystem.topicDiscovery()" This is what the ootb greetings topic uses to see if an utterance matches an intent for a topic.