Beberapa produk dan fitur sedang dalam proses penggantian nama. Fitur playbook dan alur generatif juga dimigrasikan ke satu konsol gabungan. Lihat detailnya.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Sesi mewakili percakapan
antara agen Agen Percakapan (Dialogflow CX) dan pengguna akhir.
Anda dapat membuat entity khusus, yang disebut entity sesi,
atau entity pengguna,
selama sesi.
Entity sesi dapat memperluas atau mengganti jenis entity kustom
dan hanya ada selama sesi yang dibuat untuknya.
Semua data sesi, termasuk entity sesi,
disimpan oleh Agen Percakapan (Dialogflow CX) selama 30 menit.
Misalnya, jika agen Anda memiliki jenis entitas @fruit
yang menyertakan "pir" dan "anggur",
jenis entitas tersebut dapat diperbarui untuk menyertakan "apel" atau "jeruk",
bergantung pada informasi yang dikumpulkan agen Anda dari pengguna akhir.
Jenis entitas yang diperbarui akan memiliki entri entity "apple" atau "orange"
untuk sisa sesi.
Mengelola entity sesi dengan API
Untuk mengelola entity sesi dengan API,
gunakan metode untuk jenis SessionEntity.
Pilih protokol dan versi untuk referensi SessionEntityType:
[[["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-08-18 UTC."],[[["\u003cp\u003eA session in Conversational Agents (Dialogflow CX) represents a conversation between the agent and an end-user.\u003c/p\u003e\n"],["\u003cp\u003eSession entities, also known as user entities, are special entities created during a session that can expand or replace custom entity types.\u003c/p\u003e\n"],["\u003cp\u003eSession entities are only active for the duration of the session in which they are created.\u003c/p\u003e\n"],["\u003cp\u003eAll session data, including session entities, is temporarily stored by Conversational Agents (Dialogflow CX) for a duration of 30 minutes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionEntityType\u003c/code\u003e API can be used to manage session entities, with resources and interfaces available for various protocols and versions, including REST and RPC.\u003c/p\u003e\n"]]],[],null,["# Session entities\n\nA *session* represents a conversation\nbetween a Conversational Agents (Dialogflow CX) agent and an end-user.\nYou can create special entities, called *session entities* ,\nor *user entities*,\nduring a session.\nSession entities can extend or replace custom entity types\nand only exist during the session that they were created for.\nAll session data, including session entities,\nis stored by Conversational Agents (Dialogflow CX) for 30 minutes.\n\nFor example, if your agent has a `@fruit` entity type\nthat includes \"pear\" and \"grape\",\nthat entity type could be updated to include \"apple\" or \"orange\",\ndepending on the information your agent collects from the end-user.\nThe updated entity type would have the \"apple\" or \"orange\" entity entry\nfor the rest of the session.\n\nManaging session entities with the API\n--------------------------------------\n\nTo manage session entities with the API,\nuse the methods for the `SessionEntity` type.\n\n\nGo to the SessionEntityType API reference \n**Select a protocol and version for the SessionEntityType reference:**\n\nClose\n\n\u003cbr /\u003e"]]