Ответы (диалоговый поток)
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Когда вы создаете действие для помощника, вы разрабатываете свои разговоры для различных поверхностей, таких как голосовой разговор для динамиков, активируемых голосом, или визуальный разговор на поверхности, которую поддерживает помощник. Этот подход позволяет пользователям быстро выполнять задачи с помощью голосовых или визуальных возможностей.
По мере того, как вы создаете свое удовлетворение, вы можете выбирать из множества привлекательных типов ответов, которые Ассистент будет представлять пользователям:
- Простые ответы . Простые ответы имеют форму чата визуально и используют преобразование текста в речь (TTS) или язык разметки синтеза речи ( SSML ) для звука. Простые ответы нельзя использовать только для экрана, а другие типы ответов всегда включают хотя бы один простой ответ.
- Расширенные ответы . Расширенные ответы добавляют визуальные или функциональные элементы к простому ответу, чтобы улучшить взаимодействие пользователя с вашим действием. С расширенными ответами вы также можете отображать табличные данные или воспроизводить более длинный аудиоконтент.
- Ответы визуального выбора . Ответы визуального выбора предоставляют пользователям визуальный интерфейс для выбора между несколькими вариантами, которые легче всего отличить по названию или изображению.
Для более визуального или иммерсивного опыта рассмотрите возможность создания интерактивного холста .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eActions on Google are designed to work across multiple surfaces, allowing users to interact through voice or visual elements.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize various response types, including simple, rich, and visual selection responses, to enhance user interactions.\u003c/p\u003e\n"],["\u003cp\u003eRich responses incorporate visual or functional elements, like displaying tabular data or playing audio, to enrich simple responses.\u003c/p\u003e\n"],["\u003cp\u003eVisual selection responses offer a visual interface for users to select options from a list, ideal for choices easily differentiated by title or image.\u003c/p\u003e\n"],["\u003cp\u003eFor highly visual or immersive experiences, Interactive Canvas is recommended as an alternative development approach.\u003c/p\u003e\n"]]],["Actions for the Assistant can be designed for voice or visual interactions. Fulfillment offers different response types: Simple responses use text or speech, forming the base for all responses. Rich responses enhance Simple responses with visual or functional elements, and allow display of tabular data or longer audio. Visual selection responses enable users to choose from multiple options via a visual interface with titles or images. Consider Interactive Canvas for more complex visual experiences.\n"],null,["# Responses (Dialogflow)\n\nWhen you build an Action for the Assistant, you design your conversations for a\nvariety of surfaces, such as a voice-centric conversation for voice-activated\nspeakers or a visual conversation on a surface that the Assistant supports. This\napproach lets users get things done quickly through either voice or visual\naffordances.\n\nAs you build your fulfillment, you can select from a variety of engaging\nresponse types for the Assistant to present to users:\n\n- [Simple responses](/assistant/df-asdk/simple-responses): Simple responses take the form of a chat bubble visually and use text-to-speech (TTS) or Speech Synthesis Markup Language ([SSML](/assistant/df-asdk/ssml)) for sound. Simple responses cannot be used on screen-only experiences, and other response types always include at least one simple response.\n- [Rich responses](/assistant/df-asdk/rich-responses): Rich responses add visual or functional elements to a simple response to enhance user interactions with your Action. With rich responses, you can also display tabular data or play longer-form audio content.\n- [Visual selection responses](/assistant/df-asdk/selection-responses): Visual selection responses provide a visual interface for users to choose between multiple options that are most easily differentiated by their title or by an image.\n\n| **Tip:** Review our [conversation design guidelines](https://designguidelines.withgoogle.com/conversation/visual-components/overview.html) to learn how to incorporate these visual elements in your Action.\n\nFor more visual or immersive experiences, consider building with [Interactive Canvas](/assistant/interactivecanvas)\ninstead."]]