Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Las facetas pueden mostrarse junto a los resultados en el widget de búsqueda para ayudar a los usuarios a filtrarlos. Puedes usar la página Configuraciones en la consola de Google Cloud para especificar qué campos usar como facetas en tu widget para apps con datos estructurados o datos no estructurados con metadatos.
La configuración de facetas no es compatible con los widgets de las apps con datos de sitios web o datos no estructurados sin metadatos.
Si usas el control de acceso para tus fuentes de datos, estos parámetros de configuración también se aplican a la app web.
Antes de establecer un campo como faceta, asegúrate de que esté configurado como Recuperable y Indexable. Para obtener más información, consulta Cómo configurar los campos.
Para establecer un campo como faceta, haz lo siguiente:
En la consola de Google Cloud , ve a la página AI Applications.
Haz clic en el nombre de la app que deseas editar.
Haz clic en Configuraciones.
Haz clic en la pestaña IU.
Si tienes varios almacenes de datos conectados a tu app, selecciona el almacén de datos para el que deseas configurar los parámetros de configuración de facetas.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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**."]]