- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 10:11 PM
Dear all,
We want to customize a set of search logic in AI Search for Virtual Agent.
Here are a few scenarios:
1. For different employees, the articles they find have different focuses: for example, IT personnel have a higher probability of finding IT-related articles (higher score)
2. Articles with higher ratings/helpful are easier to be searched: For example, articles with more user ratings of 5 stars/helpful are more likely to have high scores (similar to a recommendation system)
I don't know where they can be configured, thanks for the answers from the experts.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2022 12:21 AM
Hi Junyu,
What you need is Result improvement rules. There is a ServiceNow Academy video about it, pretty much explains how it works and how to use it:
AI Academy: Personalize your AI Search experience with tuning
For example you can create a Result improvement rule like this:
and a boost action like this:
This way if the user's department containing IT ServiceDesk, they will be more likely to be presented with articles from Knowledge Bases containing IT.
Boosting KB articles by rating is a bit more tricky. You need a Result improvement rule again. Check the Activate on all queries checkbox if you do not want a condition.
Then create a Boost action for each rating tier you want to boost:
This way for all searches all the 5 star articles will be boosted, all 4 star articles will be boosted a bit less.
I hope it helps,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2023 03:20 PM
HI @sandeep p1 . For that specific case, you will need to define a new Search Source with the filter you want to have in certains articles or items. You can also define custom Index sources with prebuilt conditions in order to achieve that, and associate it with your Search Source. And after that, you should link that Search Source to a new Search profile. And finally, you will create a new application that will use that Searche Profile, and you can add it in your application (Virtual Agent)