對話動作已於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
回覆 (Dialogflow)
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
建構 Google 助理的「動作」時,您可以為各種途徑設計您的對話,例如使用語音啟動的語音功能的對話,或是 Google 助理支援的表面上的視覺對話。這個做法可讓使用者透過語音或視覺預設快速完成工作。
建立執行要求時,有多種互動式回應類型可供選擇,以便 Google 助理向使用者顯示:
- 簡單回應:簡易回應會以視覺形式呈現即時通訊泡泡,並使用文字轉語音 (TTS) 或語音合成標記語言 (SSML) 來聲音。簡易回應不適用於螢幕專屬的體驗,其他回應類型則一律至少包含一個簡單的回應。
- 豐富的回應:複合式回應會在簡單的回應中加入視覺元素或功能元素,強化與動作的互動。透過內容豐富的回應,您還可以顯示表格資料,或是播放較長的音訊內容。
- 視覺選取回應:視覺選取回應提供視覺化介面,方便使用者選擇多種選項,最容易依標題或圖片區分。
如要打造具有視覺或沉浸式體驗的體驗,建議您改用互動式畫布建構。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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."]]