Retrieving relevant knowledge arcticle chunks using AI Search and Scripted REST API.

atharvsubhe
Kilo Contributor

I recently started working on a project which requires external access to ServiceNow's AI Search feature. The goal here is to send a query to AI search using a scripted REST API and returning only the relevant chunks from the Knowledge base. 

Right now, I am stuck as the semantic configuration is set but the resulting applications is not returning relevant chunks but the entire text from the document. 

I have the indexed sources properly set to use semantic configuration. Additionally, I even created a new Search Application with correct search profile and search sources, to test it in the SN Preview utility tool, but the results from the tool states that semanticSearch = False and thus does not return relevant passages.  

Has anybody tried the creating a Scripted REST API to use AI Search? 

 

0 REPLIES 0