Configure facets for the UI
Stay organized with collections
Save and categorize content based on your preferences.
Facets can be shown next to results in the web app UI to help users filter
the results. You can use the Configurations page in the Google Cloud console to
specify which fields to use as facets on your UI for apps with structured
data or unstructured data with metadata.
Facet configuration is not supported for apps with website data or unstructured
data without metadata.
Before setting a field as a facet, make sure that the field is set to
Retrievable and Indexable. For more information, see Configure field
settings.
To set a field as a facet:
In the Google Cloud console, go to the Agentspace page.
Agentspace
Click the name of the app that you want to edit.
Click Configurations.
Click the UI tab.
If you have multiple data stores connected to your app, select the data
store to configure facet settings for.
Expand the Facet settings section.
Click Add facet.
Select a field to use as a facet.
Enter a display name for the facet.
Click Save and publish.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["Facets can be displayed in the web app UI to enable users to filter search results."],["Facets are configured in the **Configurations** page within the Google Cloud console for structured data or unstructured data with metadata."],["Facet configuration is not available for website data or unstructured data without metadata."],["Fields must be set to **Retrievable** and **Indexable** before they can be used as facets."],["To add a facet, you must navigate to the **UI** tab under **Configurations** for a specific app in the Google Cloud console and then proceed to the **Facet settings** section to add a new facet."]]],[]]