Knowledge article meta tags are not covered in virtual agent search.

Community Alums
Not applicable

When an end user types a keyword in virtual agent chat box after the greeting message, the virtual agent looks for the word matches in short description or description fields.

Similarly VA search for the keyword in knowledge articles, if the keyword is found in short description or content of the article, includes that article in the search results.

My requirement is, search for the keyword should include meta tags of the knowledge articles.

How can I achieve this? Can somebody help on this?

 

7 REPLIES 7

Lynda1
Kilo Sage

We had to tell the search to look at the meta in a script.  This is the part of the script we do this

 

gr.addEncodedQuery('short_descriptionLIKE'+vaInputs.benefits_query+'^ORmetaLIKE'+vaInputs.benefits_query
 
Not sure if this helps.

Community Alums
Not applicable

Hello Lynda,

Thanks for the reply.

could you please mention that where should I add this line of script?

We have it in the script in the Reference Choice component

 

'find_real_file.png

benefits_query is coming from an input component that the user enters what they need

Community Alums
Not applicable

Hello Lynda,

Thanks for your reply.

I'm not able to find this line of code in "Greetings" topic block. Could you please guide me in which topic I should look for this?