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

How to put Source URL on RAG Skill answer

ShumaS
Tera Contributor

■Objectives
I want to create a RAG Skill using the ServiceNow Now Assist Skill Kit that meets the following requirements:

1. Trigger: Clicking a button on the incident resolution screen
2. Functional Overview: Interpret the `short_description` and `description` fields of the current incident and suggest a resolution
3. Search Sources: Knowledge and past incident history
4. Functionality: Includes links to the source information used to determine the resolution

In short, I want to create a feature for agents that functions similarly to NAVA’s AI Search feature, but with incidents added as a search source.

■ Questions
Is this requirement feasible?
How can it be implemented?
I believe it might be possible by reverse-engineering the execution flow of NAVA’s AI Search feature—search → answer generation + link addition + response—but could you explain each step of this flow?


■ Progress
I attempted to build this myself but ran into difficulties with step 4.

My implementation method is as follows:

1. Call the RAG Tool using NowAssistSkillKit
2. Generate URLs for the Knowledge and Incident references from the RAG results
3. Create a response from the RAG results + attach the data generated in step 2

However, step 2 did not work as intended.

When I inquired with NowSupport about the NAVA implementation, I received the following response.
However, due to my own limitations, I was unable to fully follow and understand the entire NAVA response process.

>Where is the instruction to include links in the answer card specified?
The instruction to include links in the Now Assist answer card (Q&A Genius Result) is specified within the EVAM (Entity View Action Mapping) View Configs.
Specifically, configuring the SN_Temp_Multi Content Citation QnA or SN_Temp_Multi Content Citation CATALOG mappings allows Now Assist to display clickable links in the Virtual Agent or Service Portal search results.

1 REPLY 1

rpriyadarshy
Kilo Sage

@ShumaS 

 

What you are trying to Build is OOTB available in Service-now which generates Resolution Plan by Analyzing KBs, Historical Incidents and Extended Resources if you have Configured any.  . 

 

Refer----> Create Resolution Plan agentic workflow

 

Regards

RP