Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Der Container V2 bietet erhebliche Verbesserungen gegenüber dem ursprünglichen Container und wird weiterhin die aktuellsten Funktionen und Änderungen enthalten. Damit der Kundenservicemitarbeiter immer Zugriff auf die wichtigsten Tools und Vorschläge hat, wird in Version 2 eine reaktive Anzeige mit dynamischen Bereichen und einem einheitlichen Feed mit Vorschlägen verwendet.
Nutzung
Importieren Sie das Modul mit dem folgenden Code in Ihre HTML-Seite:
Im Gegensatz zu V1 müssen Sie den UI-Modul-Connector in V2 separat initialisieren. Durch die Entkopplung des Connectors vom Container wird eine höhere Flexibilität bei der Integration erreicht. Informationen zur Einrichtung finden Sie unter UI-Module-Connector. Viele der Eigenschaften im V1-Container gelten nur für den UI-Modul-Connector.
Eigenschaften
Im Folgenden finden Sie die Container-Eigenschaften von Version 2:
Eigenschaft
Typ
Kommentar
Features
String
Durch Kommas getrennte Liste der Schlüssel für Agent Assist-Vorschlagsfunktionen, die gerendert werden sollen. Unterstützte Liste: CONVERSATION_SUMMARIZATION, SMART_REPLY, KNOWLEDGE_SEARCH, Proactive generative knowledge assist.
session-id
String
Optionale Sitzungs-ID für die Verwendung, die nicht auf Unterhaltungen basiert, z. B. bei der generativen Wissensunterstützung.
show-header
BooleanString
Gibt an, ob die Branding-Kopfzeile für Agent Assist angezeigt werden soll.
show-dark-mode-toggle
BooleanString
Gibt an, ob die Ein/Aus-Schaltfläche für den dunklen Modus bzw. den hellen Modus angezeigt werden soll.
Namespace
String
Wird nicht empfohlen, ist aber verfügbar, wenn mehrere Instanzen von UI-Modulen erforderlich sind.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-10 (UTC)."],[],[],null,["The container V2 offers significant improvements from the initial container and will continue to have the most up-to-date features and changes. To ensure the most impactful suggestions and key tools are always accessible to the agent, version 2 uses a reactive display with dynamic panels and a unified feed of suggestions.\n\nUsage\n\nImport the module in your HTML page with the following code: \n\n \u003cscript src=\"https://www.gstatic.com/agent-assist-ui-modules/v2/container.js\"\u003e\u003c/script\u003e\n\nEmbed the module with the following tag: \n\n \u003cagent-assist-ui-modules-v2\u003e\n\nUI module connector\n\nUnlike V1, you must initialize the UI module connector separately in V2. Decoupling the connector from the container allows for greater integration flexibility. For the set up, refer to [UI modules connector](/agent-assist/docs/ui-modules#implement_the_ui_module_connector). Many of the properties on the V1 container apply only to the UI module connector.\n\nProperties\n\nFollowing are the V2 container properties:\n\n| Property name | Type | Comment |\n|-----------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| features | string | Comma-separated list of Agent Assist suggestion feature keys to render. Supported list: `CONVERSATION_SUMMARIZATION`, `SMART_REPLY`, `KNOWLEDGE_SEARCH`, `Proactive generative knowledge assist`. |\n| session-id | string | Optional session ID for use that is not conversation based, like with Generative knowledge assist. |\n| show-header | BooleanString | Whether to show the Agent Assist branding header. |\n| show-dark-mode-toggle | BooleanString | Whether to support showing the toggle for dark mode versus light mode. |\n| namespace | string | Not recommended, but available if multiple instances of [UI modules](/agent-assist/docs/custom-events#initialize_multiple_ui_modules_instances_with_namespace) are required. |"]]