Configurare le sfaccettature per il widget di ricerca
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
I facet possono essere visualizzati accanto ai risultati nel widget di ricerca per aiutare gli utenti a filtrare
i risultati. Puoi utilizzare la pagina Configurazioni nella console Google Cloud per specificare i campi da utilizzare come sfaccettature nel widget per le app con dati strutturati o non strutturati con metadati.
La configurazione delle sfaccettature non è supportata per i widget per app con dati di siti web o
dati non strutturati senza metadati.
Se utilizzi controllo dell'accesso per le tue origini dati, queste impostazioni di configurazione
si applicano anche all'app web.
Prima di impostare un campo come sfaccettatura, assicurati che sia impostato su
Recuperabile e Indicizzabile. Per saperne di più, consulta Configurare le impostazioni dei campi.
Per impostare un campo come sfaccettatura:
Nella Google Cloud console, vai alla pagina AI Applications.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-05 UTC."],[[["\u003cp\u003eFacets can be added to search widgets to enable users to filter results, enhancing their search experience.\u003c/p\u003e\n"],["\u003cp\u003eFacet configuration is available through the \u003cstrong\u003eConfigurations\u003c/strong\u003e page in the Google Cloud console for apps with structured data or unstructured data with metadata.\u003c/p\u003e\n"],["\u003cp\u003eFields must be set to both \u003cstrong\u003eRetrievable\u003c/strong\u003e and \u003cstrong\u003eIndexable\u003c/strong\u003e before they can be configured as facets.\u003c/p\u003e\n"],["\u003cp\u003eFacet configuration settings in the Google Cloud console also apply to the web app if access control is used for data sources.\u003c/p\u003e\n"],["\u003cp\u003eTo configure a facet, you must navigate to the \u003cstrong\u003eUI\u003c/strong\u003e tab under \u003cstrong\u003eConfigurations\u003c/strong\u003e in the application's settings, and then add, name, and save the desired facet.\u003c/p\u003e\n"]]],[],null,["# Configure facets for the search widget\n\nFacets can be shown next to results in the search widget to help users filter\nthe results. You can use the **Configurations** page in the Google Cloud console to\nspecify which fields to use as facets on your widget for apps with structured\ndata or unstructured data with metadata.\n\nFacet configuration is not supported for widgets for apps with website data or\nunstructured data without metadata.\n\nIf you use access control for your data sources, these configuration\nsettings also apply to the web app.\n\nBefore setting a field as a facet, make sure that the field is set to\n**Retrievable** and **Indexable** . For more information, see [Configure field\nsettings](/generative-ai-app-builder/docs/configure-field-settings).\n\nTo set a field as a facet:\n\n1. In the Google Cloud console, go to the **AI Applications** page.\n\n [AI Applications](https://console.cloud.google.com/gen-app-builder/start)\n2. Click the name of the app that you want to edit.\n\n3. Click **Configurations**.\n\n4. Click the **UI** tab.\n\n5. If you have multiple data stores connected to your app, select the data\n store to configure facet settings for.\n\n6. Expand the **Facet settings** section.\n\n7. Click **Add facet**.\n\n8. Select a field to use as a facet.\n\n9. Enter a display name for the facet.\n\n10. Click **Save and publish**."]]