Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dua intent dibuat secara otomatis saat Anda membuat agen:
Intent selamat datang default:
cocok saat pengguna akhir memulai percakapan dengan agen Anda.
Intent penggantian default:
cocok saat agen Anda tidak mencocokkan input pengguna akhir dengan intent lainnya.
Intent selamat datang default
Intent selamat datang default dicocokkan
saat pengguna akhir memulai percakapan dengan agen Anda.
Tindakan ini akan menampilkan respons yang memungkinkan pengguna akhir mengetahui
apa yang dilakukan agen Anda atau apa yang dapat dikatakan pengguna akhir untuk memulai percakapan.
Anda harus menyesuaikan respons intent yang telah diisi otomatis untuk agen Anda.
Intent sambutan default dicocokkan dengan salah satu dari dua cara berikut:
Salah satu frasa pelatihannya cocok,
yang diisi otomatis dengan sapaan umum,
seperti "halo".
Intent ini memiliki
peristiwa sambutan
yang terpasang,
yang dipicu saat pengguna akhir memulai percakapan
dengan agen Anda melalui
integrasi yang didukung.
Intent penggantian default
Intent penggantian default dicocokkan
saat agen Anda tidak mencocokkan input pengguna akhir dengan intent lainnya.
Intent ini tidak cocok jika input audio tidak berisi ucapan
yang ditranskripsikan.
Intent ini otomatis dikonfigurasi
dengan berbagai respons teks statis,
seperti "Saya tidak mengerti. Bisa diulang?".
Anda dapat menyesuaikan intent penggantian
dengan mengubah respons teks yang telah diisi otomatis
atau dengan menambahkan contoh negatif.
Anda juga dapat membuat intent penggantian tambahan:
Klik tombol
more_vert
opsi di bagian atas halaman intent.
Pilih Buat Intent Penggantian.
Respons intent penggantian
Anda dapat mengubah respons teks yang telah diisi otomatis,
tetapi respons tersebut harus menyampaikan kepada pengguna akhir
bahwa input mereka tidak dikenali.
Contoh negatif
Anda dapat menambahkan frasa pelatihan ke intent penggantian
yang berfungsi sebagai contoh negatif.
Mungkin ada kasus saat ekspresi pengguna akhir
memiliki sedikit kemiripan dengan frasa pelatihan Anda,
tetapi Anda tidak ingin ekspresi ini cocok dengan intent normal.
Misalnya, layanan pemesanan kamar mungkin memiliki frasa pelatihan seperti
"Saya ingin memesan kamar".
Jika pengguna akhir ingin membeli buku tentang kamar, dia dapat mengatakan
"Saya ingin membeli buku tentang kamar".
Untuk memastikan bahwa ekspresi pengguna akhir tidak cocok dengan intent Anda,
Anda dapat menambahkan frasa tersebut sebagai contoh negatif.
[[["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\u003eTwo intents, the default welcome intent and the default fallback intent, are automatically created when you create an agent.\u003c/p\u003e\n"],["\u003cp\u003eThe default welcome intent is triggered at the start of a conversation to greet the user, and it can be matched either by a greeting training phrase or a welcome event from an integration.\u003c/p\u003e\n"],["\u003cp\u003eThe default fallback intent activates when the agent fails to match the user's input with any other defined intents, and it comes pre-configured with responses that can be customized.\u003c/p\u003e\n"],["\u003cp\u003eYou can customize the responses of both default intents, ensuring they effectively guide the user, and even add negative examples to the fallback intent.\u003c/p\u003e\n"],["\u003cp\u003eYou can create additional fallback intents and use contexts to customize the fallback responses.\u003c/p\u003e\n"]]],[],null,["# Default intents\n\nTwo intents are created automatically when you create an agent:\n\n- **Default welcome intent**: matched when an end-user begins a conversation with your agent.\n- **Default fallback intent**: matched when your agent doesn't match an end-user input to any other intents.\n\n| **Note:** You can delete the default intents, but it is normally best to keep them and customize them for your agent.\n\nDefault welcome intent\n----------------------\n\nThe default welcome intent is matched\nwhen an end-user begins a conversation with your agent.\nIt should return a response that lets end-users know\nwhat your agent does or what end-users can say to begin a conversation.\nYou should customize the pre-populated intent responses for your agent.\n\nThe default welcome intent is matched in one of two ways:\n\n- One of its training phrases are matched, which are pre-populated with common greetings, like \"hello\".\n- This intent has a [welcome event](/dialogflow/docs/events-platform#welcome_events) attached to it, which is triggered when the end-user begins a conversation with your agent via a supported [integration](/dialogflow/docs/integrations).\n\n| **Note:** The default welcome intent includes various greeting training phrases in all languages, however these training phrases are not used for invocation by Google Assistant. See the Google Assistant [invocation](https://developers.google.com/assistant/discovery) documentation for more information.\n\nDefault fallback intent\n-----------------------\n\nThe default fallback intent is matched\nwhen your agent doesn't match an end-user input to any other intents.\n\nThis intent is not matched if an audio input doesn't contain any transcribed\nspeech.\n\nThis intent is automatically configured\nwith a variety of static text responses,\nlike \"I didn't get that. Can you say it again?\".\n\nYou can customize fallback intents\nby changing the pre-populated text responses\nor by adding negative examples.\n\nYou can also create additional fallback intents:\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.\n4. Click the option *more_vert* button at the top of the intents page.\n5. Select **Create Fallback Intent**.\n\n### Fallback intent responses\n\nYou can change the pre-populated text responses,\nbut they should communicate to the end-user\nthat their input was not recognized.\n| **Note:** You can have multiple fallback intents with [contexts](/dialogflow/docs/contexts-overview) to customize fallback responses.\n\n### Negative examples\n\nYou can add training phrases to fallback intents\nthat act as *negative examples*.\nThere may be cases where end-user expressions\nhave a slight resemblance to your training phrases,\nbut you do not want these expressions to match any normal intents.\n\nFor example, a room booking service may have a training phrase like\n\"I'd like to book a room\".\nIf the end-user wants to purchase a book about rooms, they may say\n\"I'd like to buy a book about rooms.\"\nTo ensure that the end-user expression does not match your intent,\nyou can add that phrase as a negative example."]]