Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Esta página contiene la documentación de la API del módulo de interfaz de usuario de transcripción. Este módulo se usa para mostrar una transcripción en directo de una conversación de voz.
Uso
Importa el módulo en tu página HTML con el siguiente código:
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-19 (UTC)."],[[["\u003cp\u003eThis documentation details the API for the Transcript UI module, which displays a live transcript of a voice conversation.\u003c/p\u003e\n"],["\u003cp\u003eThe module can be imported into an HTML page using a provided script tag and embedded using the \u003ccode\u003e<agent-assist-transcript>\u003c/code\u003e tag.\u003c/p\u003e\n"],["\u003cp\u003eThe module has one attribute, \u003ccode\u003eshow-message-time\u003c/code\u003e, that controls whether a timestamp offset is displayed next to each message.\u003c/p\u003e\n"],["\u003cp\u003eAttributes can be set directly in HTML or via JavaScript using \u003ccode\u003esetAttribute()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe module utilizes a custom type \u003ccode\u003eBooleanString\u003c/code\u003e, which accepts either \u003ccode\u003e"true"\u003c/code\u003e or \u003ccode\u003e"false"\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Transcript\n\nThis page contains the API documentation for the Transcript UI module. This module is used to display a live transcript of a voice conversation.\n\nUsage\n-----\n\nImport the module in your HTML page using the following code: \n\n \u003cscript src=\"https://www.gstatic.com/agent-assist-ui-modules/v1/transcript.js\"\u003e\u003c/script\u003e\n\nEmbed the module using the following tag: \n\n \u003cagent-assist-transcript\u003e\n\nAttributes\n----------\n\n### Usage\n\nAttributes are string-based component properties which can be set in the following ways:\n\nFrom your HTML template directly: \n\n \u003celement-selector property-name=\"value\"\u003e\n\nFrom your JavaScript code: \n\n var el = document.querySelector('element-selector');\n el.setAttribute('property-name', 'value');\n\nInputs\n------\n\nNo inputs.\n\nTypes\n-----\n\nSee the following section for the custom types used by the component.\n\n### BooleanString\n\n \"true\" | \"false\""]]