- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2022 07:59 AM
Good Afternoon,
I need some guidance with AI Search, I have put together a rest message that returns results from our SharePoint Knowledge base, this is all working fine with it returning the unique document id, title, url etc but I need to get this into AI Search so it is searchable within Virtual Agent.
I have created the external content schema table and search profile etc:
https://docs.servicenow.com/en-US/bundle/sandiego-platform-administration/page/administer/ai-search/task/create-ext-content-schema-ais.html
I have used the external_content/storeContent rest api to create the content pointer which is then used in the external_content/ingestDocument rest api.
Doing all this makes it searchable within Virtual Agent but the schema table I created remains empty and the url its using is pointing to the ServiceNow instance and not too the SharePoint site so ofc it fails to open.
The documentation around the api's is lacking in some areas and wondered if anyone else had any success ingesting external content that is searchable? wondering if I am doing the mapping wrong.
Any help and I would be grateful
Kind Regards
Ashley
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 01:00 AM
Good Morning,
So the article that resolved the problem for me in the end was this one:
https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/administer/conversational-interfaces/task/ac-configure-url-navigation.html
It doesn't get mentioned as part of the document ingest api documentation but for custom tables you need to create a new navigation url link which points to the new external schema table that gets created. Once I had this in place everything was pointing to the external site as needed.
Kind Regards
Ashley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 05:27 AM
Thank you for your reply!
I put AI Search and Search Preview in the filter nav but I can't find Search Preview. Any Plugin required to use Search Preview?
I've created external_content/storeContent rest api like you and used content pointer in the external_content/ingestDocument rest api.
Kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 06:25 AM
I don't remember installing any plugins just for that, just to check what family release your on? I am using the latest version with San Diego Patch 1.
Some screen shots of what your api should look like:
Binary Content
Document Ingest api:
Have you checked the ai search logs?
AI Search > AI Search Logs > All
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 07:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 07:26 AM
So I have been doing it from an outbound rest message, if you want to do it from flow designer then this article will certainly help you:
https://community.servicenow.com/community?id=community_article&sys_id=591e21f7db294d10f77799ead396195d
The JSON parser piece is a separate plugin that you need to install first to see it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2022 04:44 AM
Thanks a lot,
I tryed both flow designer using JSON parses and outbound rest message like you but still cannot ingest and search. I think there're some configuration error around AI Search such as index sources, search sources, so I'll try more.