Chatbot | Virtual agent | KB Article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 12:54 AM
Hi Team,
I am trying to build the chatbot for KB article and below is the point where i get stuck.
1.I need to search a KB article base on keyword but without mentioning in properties.
2.When anyone search content that also of that content is present in any KB than that should display..
Please anyone guide me..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 01:15 AM
Hi @ankitshukla
-
When a user types a message like “reset password,” capture that input.
-
Use ServiceNow’s full-text search (
123TEXTQUERY321
) to search across all KB articles — this way, you don’t need to define specific keywords or properties. -
Fetch matching articles and show their title, short description, and link in the chatbot.
-
If you have AI Search enabled, use it — it gives more accurate and relevant results than basic keyword matching.
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
YouTube: https://www.youtube.com/@learnservicenowwithravi
LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 01:22 AM
Hi @ankitshukla
We are implementing Virtual Agent (VA) for our customer, and I believe it works out of the box by searching based on metadata and tags from your Knowledge Base. If you write more accurate metadata or tags, the Virtual Agent will perform better. So, try to create a complete and well-structured article first, then test the search in VA on your end.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 01:45 AM
Hi Atul,
You means to say that base on the meta tag which we mentioned in KB article that is the key point?
But what about the content...
If i want to see the details from specific KB article ..like how to install Windows..
than base on this all the KB article should display if they contain this word..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 03:20 AM
Hi @ankitshukla
Yes, based on my understanding, metadata and tags play a very important role in Virtual Agent (VA) search. The more accurate and relevant they are, the better the search results will be. This can significantly improve the performance of VA.
You can also follow the comments provided by @Bharat2 to further enhance the results
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************