Power Pages search with generative AI (preview)

[This topic is prerelease documentation and is subject to change.]

Using Generative AI for Power Pages Search is about incorporating generative artificial intelligence (AI) models into web search features. Generative AI can comprehend context, meaning, and user goals to summarize search results. This method uses natural language processing (NLP) and machine learning techniques to improve user experience by offering more precise and varied search results.

Important

  • This is a preview feature.
  • Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.
  • Generative AI search is available for sites created with English language.
  • This feature is not available in Government Community Cloud (GCC), Government Community Cloud - High (GCC High), or Department of Defense (DoD) regions.
  • Power Pages site version must be 9.6.3.41 or higher.
  • Faceted search isn't available when you enable generative AI search.

Screenshot of an AI generated summary of search results in Power Pages search.

Enable site search with generative AI

To include generative AI in Power Pages search:

  1. Go to Set up workspace.
  2. Under Copilot select Site search (preview).
  3. Turn on Enable Site search with generative AI (preview).

Refine search source

When the search feature is activated on the website, it designates the entire website as a searchable domain. The Dataverse service orchestrates the indexing of the website's content and the configured tables. Then Azure OpenAI aggregates the indexed content for search summarization.

Note

The same content is used by both generative AI search and keyword search.

To customize the source of search content:

  1. Go to Set up workspace, select Site search.

  2. Under Refine your data, select Make changes.

  3. Select Choose tables to select or deselect tables.

    • You can select multiple tables in this section.
    • Ensure that any table you select is used on the site.
    • On subsequent pages, you must specify the page where the table is used to create the citation URL.
  4. Select Next.

  5. Select Choose table and select the table that contains the columns and page link you want to select.

    • A table doesn't appear unless it has at least one multi-line column.
    • You can select one table at a time.
  6. Under Choose page to associate with the table, select the page where the table is used.

    Note

    • Make sure you select the correct page where the table is used. Choosing the wrong table will result in the bot providing an incorrect citation URL for the answers.
    • The page must use 'id' as the query string parameter; the citation URL will not function correctly if any other parameter name is used.
  7. Under Choose columns, select the list of columns that are used in the page.

    • Only columns with multiline text are available to select.
  8. Select Next and review the selection.

    Important

    If you selected more than one table, you need to configure the page and column options for each table before you can select Next.

  9. Select Save to submit the changes.

Table row filter

When table is included for search scope, a new view is added to the table as defined in site setting Search/IndexQueryName. The default value for Search/IndexQueryName is "Portal Search".

If you want to further refine the content of the search scope, use this filter to customize it.

Apply style to search result page

The Power Pages search result page, which is powered by generative AI search follows the themes defined in the Style workspace. To make any appearances changes, use the style workspace.

The static content on the search result component is designed using content snippets. If you want to update the Generative AI Summary title or Keyword result title, use the following content snippets:

  • Generative AI Summary - Search/Summary/Title
  • Keyword search - Search/Results/Title

See also