AI Skill to read data from knowledge article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All,
We are trying to create a custom AI skill that can take input from order records and searh available KA to return a response.
we have created required test KA and defined Retriever as a Tool for this custom skill so it can perform RAG on the KA to return grounded response. Used search profile-based tool with OOTB search profile - Search sources as shown below -
I am still getting empty response from this tool
can someone explain what going wrong here?
Also, what does the 'search query' define in the tool is used during run time?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Sandeep,
Check the below steps
The Search Profile is Published
and proper index source is tagged to it
Indexed Source status
- Go to AI Search > Indexed Sources.
- Find the indexed source behind kb_knowledge.
- Confirm its state is Indexed.
- Also confirm that the expected KA actually exists in the indexed content. ServiceNow specifically recommends verifying that the indexed source successfully reaches the Indexed state.
Search Source mapping
- Verify that the Search Source you selected in the retriever, kb_knowledge, points to the correct indexed/data source.
- Check the required field mappings.
- If you recently changed the Search Source or field mappings, republish/reindex as appropriate. ServiceNow identifies field mapping and Search Source configuration as key checks when expected results do not appear
Check any ACL or User Criteria applicable of the user in the article body search for contains keyword then perform the skill testing.
Finaly map the tool output properly.
Regards
Sudhanva Chandra D
Certified ArchX || 8x ServiceNow CIS