Virtual Agent User Input

Jack Littlewort
Giga Guru

Hi,

Is there a way for a topic to automatically perform the search using the phrase the user has input previous to selecting the topic?

For example, if a user enters 'I want to find where my paycheck is stored' and then the Search the Knowledge base topic, the results from searching 'I want to find where my paycheck is stored' are instantly returned.

Thanks,

1 ACCEPTED SOLUTION

You can call it with vaSystem.topicDiscovery(); Just make sure that the vaVars.global_search_text is set to what the user is searching for.

View solution in original post

7 REPLIES 7

Oh gotcha. Yeah the send topic picker does not return anything. We made our own custom greeting topic that first asked the user what they wanted. Then we send that to the topic discovery util. If that fails it directs them to the picker. This way we have the users input stored. 

Ah okay, thanks.

 

How would you call the topic discovery util from within a topic?

You can call it with vaSystem.topicDiscovery(); Just make sure that the vaVars.global_search_text is set to what the user is searching for.