Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda dapat menggunakan
intent tindak lanjut
untuk menetapkan konteks secara otomatis untuk pasangan intent.
Intent tindak lanjut adalah turunan dari intent induk terkait.
Saat Anda membuat intent tindak lanjut,
konteks output akan otomatis ditambahkan ke intent induk
dan konteks input dengan nama yang sama akan ditambahkan ke intent tindak lanjut.
Intent tindak lanjut hanya dicocokkan
jika intent induk dicocokkan dalam giliran percakapan sebelumnya.
Anda juga dapat membuat beberapa tingkat intent tindak lanjut bertingkat.
Dialogflow menyediakan banyak
intent tindak lanjut standar
untuk balasan umum pengguna akhir seperti "ya", "tidak", atau "batalkan".
Anda juga dapat membuat intent tindak lanjut sendiri untuk menangani balasan kustom.
Misalnya, agen penata rambut mungkin memiliki intent bertingkat berikut.
Nama intent
Frasa pelatihan
Input context
Output context
Respons intent
Janji temu
Halo
appointment-followup
Apakah Anda ingin membuat janji temu?
⤷ Janji temu - ya
Ya
appointment-followup
appointment-yes-followup
Mau potong rambut?
⤷ Potongan rambut - ya
Ya
appointment-yes-followup
Janji temu Anda telah ditetapkan.
⤷ Potongan rambut - tidak
Tidak
appointment-yes-followup
Sampai jumpa.
⤷ Janji temu - tidak
Tidak
appointment-followup
Sampai jumpa.
Tempat menemukan data ini
Saat membuat agen,
hal yang paling umum adalah menggunakan
konsol Dialogflow ES (kunjungi dokumentasi, buka konsol).
Petunjuk di bawah berfokus pada penggunaan konsol.
Untuk mengakses data intent:
Jika Anda membuat agen menggunakan API, bukan konsol, lihat
Referensi intent.
Nama kolom API mirip dengan nama kolom konsol.
Membuat intent tindak lanjut
Untuk membuat intent tindak lanjut:
Dari daftar intent,
arahkan kursor mouse ke intent induk yang diinginkan.
Klik Tambahkan intent tindak lanjut.
Pilih salah satu intent tindak lanjut standar, atau pilih kustom.
Intent tindak lanjut yang telah ditentukan sebelumnya sudah menyertakan
frasa pelatihan untuk balasan pengguna akhir yang diharapkan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 UTC."],[[["\u003cp\u003eFollow-up intents are used to automatically set contexts for pairs of intents, acting as child intents to their associated parent intent.\u003c/p\u003e\n"],["\u003cp\u003eWhen a follow-up intent is created, an output context is added to the parent intent, and an input context of the same name is added to the follow-up intent.\u003c/p\u003e\n"],["\u003cp\u003eDialogflow offers predefined follow-up intents for common replies, but you can also create custom follow-up intents.\u003c/p\u003e\n"],["\u003cp\u003eFollow-up intents are only triggered when the parent intent is matched in the previous turn of the conversation.\u003c/p\u003e\n"],["\u003cp\u003eFollow up intents can be created within the Dialogflow ES console by selecting the parent intent and choosing to add a follow-up.\u003c/p\u003e\n"]]],[],null,["# Follow-up intents\n\nYou can use\n\n*follow-up intents*\n\nto automatically set contexts for pairs of intents.\nA follow-up intent is a child of its associated *parent intent.*\nWhen you create a follow-up intent,\nan output context is automatically added to the parent intent\nand an input context of the same name is added to the follow-up intent.\nA follow-up intent is only matched\nwhen the parent intent is matched in the previous conversational turn.\nYou can also create multiple levels of nested follow-up intents.\n\n\nDialogflow provides many\n[predefined follow-up intents](/dialogflow/docs/reference/follow-up-intent-expressions)\nfor common end-user replies like \"yes\", \"no\", or \"cancel\".\nYou can also create your own follow-up intents to handle custom replies.\n\n\nFor example, a hair stylist agent might have the following nested intents.\n\nWhere to find this data\n-----------------------\n\nWhen building an agent,\nit is most common to use the\nDialogflow ES console ([visit documentation](/dialogflow/docs/console), [open console](https://dialogflow.cloud.google.com)).\nThe instructions below focus on using the console.\nTo access intent data:\n\n1. Go to the [Dialogflow ES console](https://dialogflow.cloud.google.com).\n2. Select an agent.\n3. Select **Intents** in the left sidebar menu.\n\nIf you are building an agent using the API instead of the console, see the\n[Intents reference](/dialogflow/docs/reference/common-types#intents).\nThe API field names are similar to the console field names.\n\nCreate a follow-up intent\n-------------------------\n\nTo create a follow-up intent:\n\n1. From the intent list, hover your mouse pointer over the desired parent intent.\n2. Click **Add follow-up intent**.\n3. Select one of the predefined follow-up intents, or choose **custom**. The predefined follow-up intents already include training phrases for expected end-user replies."]]