We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Ai Search Restrictions

Chris Doernbra1
Kilo Sage

We are seeing that the search results in the genius results are not always accurate, especially when it comes to our HR information. That certainly could be a result of knowledge article issues. A question has been raised as to whether we can exclude the HR articles from the AI but still allow them to be shown in the normal results. 

 

For context I have put a square around the genius results and a circle around what I am calling the normal results. See attached. 

 

It would also be nice if the same could be true for a user that asks a question with the virtual agent. The only thing I know I can do is change the search source and exclude these articles but that excludes the articles in both places. 

 
 

 

1 ACCEPTED SOLUTION

Tricia Cornish
ServiceNow Employee

@Chris Doernbra1  - the recommended solution is @rpriyadarshy "Or" option - add a second knowledge search source to your search profile and exclude the results and attachments from the Genius Results (and then re-publish your profile). (hr_knowledge_va_search is my comparable screenshot). One thing to be aware of, based on your question and your screenshot - you are now using the VA search profile for both Search and the VA. Your screenshot has an "ask a followup" link -that's an indicator that you have enabled "Enhanced Chat". 
If you look at your portal page (portal_enhanced_chat_on), you might see a warning that Enhanced Chat is now enabled, and the search application is defined elsewhere and you can't access the portal search profile anymore - the search config now lives in your assistant (NAVA_Search_Profile).
Hope that helps! 

View solution in original post

7 REPLIES 7

rpriyadarshy
Kilo Sage

  Its a Tricky One and may need customization.

 

If i understood correctly -- 

Your requirement is: Exclude HR KB articles from the Genius (AI) answer generation but still keep HR KB articles in the normal results list (and ideally the same behavior inside Virtual Agent).
 
We can give a Try Using -- Search Scripted Post-processors are scripts that post-processes search results or genius results.
I see , there is a script to transform dates into a user-friendly format. 
Try adding one More for You needs Like 
 
  • If the returning object is a Q&A Genius Result (or Now Assist Q&A Genius result), inspect the source KB articles used to build the answer card.
  • If the article belongs to the HR Knowledge Base (or HR category / HR taxonomy), remove it from the Genius Result candidate set.
  • Do nothing to the main “normal results” list.

SS for ur reference where you can find these POST Processors. Please let Community Know If it worked or what solution you Applied.

 

Or

You Can have two Search Sources for KB one for HR and One for None HR And You Can set the Flag As False for Search Source in Search Profile. This seems an easy Wayout

 

 

 

 

 

 

 

Regards

RP

 

 

Good one sir @rpriyadarshy

Tricia Cornish
ServiceNow Employee

@Chris Doernbra1  - the recommended solution is @rpriyadarshy "Or" option - add a second knowledge search source to your search profile and exclude the results and attachments from the Genius Results (and then re-publish your profile). (hr_knowledge_va_search is my comparable screenshot). One thing to be aware of, based on your question and your screenshot - you are now using the VA search profile for both Search and the VA. Your screenshot has an "ask a followup" link -that's an indicator that you have enabled "Enhanced Chat". 
If you look at your portal page (portal_enhanced_chat_on), you might see a warning that Enhanced Chat is now enabled, and the search application is defined elsewhere and you can't access the portal search profile anymore - the search config now lives in your assistant (NAVA_Search_Profile).
Hope that helps! 

@Tricia Cornish  Thanks a ton .