The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Global Search in Virtual agent

MercBuilding
Tera Guru

Is there any variable in chatbot which stores the term entered by user and searches for topic keywords? I tried using vaVars.global_search_text, but it's not working. Is there any variable in system which stores the query entered by user?

1 ACCEPTED SOLUTION

Susan Britt
Mega Sage
Mega Sage

vaSystem.getSearchText() will get what the user typed in.  

View solution in original post

4 REPLIES 4

Kenton Dover
Mega Guru

The vaVars.global_search_text is only populated from the text entered before the greeting topic. As far as I know, it is not used on the service portal only in third-party messaging apps. You would need to grab the text and store it in something yourself. 

Susan Britt
Mega Sage
Mega Sage

vaSystem.getSearchText() will get what the user typed in.  

Community Alums
Not applicable

Check out this video and it will help you out with all kinds of variables in VA.

 

https://youtu.be/2--Z_2hKA_c

Please mark this comment as Helpful/Correct Answer if it helped you.

Cheers,

Hardit Singh

Hi @Hardit Singh  @Mark Roethof 

 

I have installed 2,3 language plugins in my instance.

I understood how to translate TOPIC TITLES into multiple languages and how the other labels, choices related info is getting translated and what should be done for it.

But I have a query with the global search in virtual agent with NLU.

I am using NLU and my NLU is working fine when I impersonate a user whose language is English.

When we login to a  different language user, then he can see the topic names and topic details in their own language, but, even if I search with exact topic names in their own language, Virtual agent is not identifying the topic automatically and it is saying that it didn't understand.

Is there any restriction that this search of topic discovery won't work in other languages?

 

Thanks

Rafi