Restrict the Microsoft SharePoint Online sites that External Content Q&A Genius Results can search
Define a Microsoft Keyword Query Language (KQL) query to restrict the set of Microsoft SharePoint Online sites (paths) that External Content Q&A Genius Results can search for documents. Only documents that satisfy your query are eligible for External Content Q&A Genius Result answer generation.
Before you begin
The Now Assist in AI Search ServiceNow® Store application must be installed on your instance. For details on installing this application, see Install Now Assist in AI Search.
Role required: admin
About this task
By default, External Content Q&A Genius Results search for relevant documents in all sites (paths) in your Microsoft SharePoint Online source system. You can restrict the set of sites searched by specifying a Microsoft Keyword Query Language (KQL) property restriction query expression as the value for the sn_ais_assist.sharepoint_search.query_filter system property. Only documents from sites that satisfy your property restriction query are eligible for External Content Q&A Genius Result retrieval and answer generation.
To learn more about KQL property restriction queries and the operators they support, see https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference.
Procedure
Result
When searching for documents in your Microsoft SharePoint Online source system, External Content Q&A Genius Results apply your property restriction KQL query as a filter. Only documents in sites that satisfy your query are eligible for retrieval and answer generation.