Respons (Dialogflow)
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Saat membuat Action untuk Asisten, Anda mendesain percakapan untuk
berbagai platform, seperti percakapan yang berfokus pada suara untuk speaker yang diaktifkan
suara atau percakapan visual di platform yang didukung Asisten. Pendekatan
ini memungkinkan pengguna menyelesaikan berbagai hal dengan cepat melalui kemampuan suara atau
visual.
Saat membuat fulfillment, Anda dapat memilih dari berbagai jenis
respons yang menarik agar Asisten dapat ditampilkan kepada pengguna:
- Respons sederhana: Respons sederhana berbentuk balon chat secara visual
dan menggunakan text-to-speech (TTS) atau Bahasa Markup Sintesis Ucapan (SSML)
untuk suara. Respons sederhana tidak dapat digunakan di pengalaman layar saja, dan
jenis respons lainnya selalu menyertakan setidaknya satu respons sederhana.
- Respons kaya: Respons yang kaya menambahkan elemen visual atau fungsional ke
respons sederhana untuk meningkatkan interaksi pengguna dengan Action Anda. Dengan respons
yang beragam, Anda juga dapat menampilkan data berbentuk tabel atau memutar konten
audio berdurasi lebih panjang.
- Respons pemilihan visual: Respons pemilihan visual menyediakan antarmuka
visual bagi pengguna untuk memilih di antara beberapa opsi yang paling mudah
dibedakan menurut judul atau gambar.
Untuk pengalaman yang lebih visual atau imersif, pertimbangkan untuk membuat project dengan Kanvas Interaktif.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 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."]]