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.
Jenis entity
digunakan untuk mengontrol cara data dari input pengguna akhir diekstrak.
Agen Percakapan (Dialogflow CX) menyediakan
entity sistem
yang telah ditentukan sebelumnya dan dapat cocok dengan banyak jenis data umum.
Misalnya, ada entity sistem untuk mencocokkan tanggal,
waktu, warna, alamat email, dan sebagainya.
Anda juga dapat membuat
entity kustom
sendiri untuk mencocokkan data kustom.
Misalnya,
Anda dapat menentukan entity sayuran
yang dapat mencocokkan jenis sayuran yang tersedia
untuk dibeli dengan agen toko bahan makanan.
Terminologi entity
Istilah entity digunakan dalam dokumentasi ini dan di konsol Dialogflow CX
untuk menjelaskan konsep umum entity.
Saat membahas detail entity,
penting untuk memahami istilah yang lebih spesifik:
Jenis entitas:
Menentukan jenis informasi yang ingin Anda ekstrak dari input pengguna.
Misalnya, sayur dapat menjadi nama tampilan jenis entity.
Mengklik Create dari bagian Entity Types
di konsol Dialogflow CX akan membuat jenis entity.
Saat menggunakan API,
istilah jenis entity mengacu pada jenis EntityType.
Pilih protokol dan versi untuk referensi EntityType:
(Opsional) Deskripsi: Menjelaskan tujuan jenis entity, misalnya "Entity ini dipicu saat pengguna menyebutkan sayuran". Jika
Anda ingin menggunakan pembuatan AI untuk membuat sinonim nilai referensi secara otomatis,
kolom ini akan digunakan oleh model untuk menghasilkan hasil yang lebih berkualitas.
Entri entity:
Untuk setiap jenis entity, dapat ada banyak entri entity. Setiap entri entity menyediakan kumpulan kata atau frasa yang dianggap setara, nilai referensi di kolom pertama, dan satu atau beberapa sinonim untuk nilai referensi tersebut di kolom kedua. Misalnya, jika vegetable adalah
jenis entity, Anda dapat menentukan entri entity ini:
Nilai referensi
Sinonim
daun bawang
daun bawang, bawang hijau
paprika
paprika, paprika manis
wortel
wortel
kentang
kentang, ubi
Daripada memasukkan entri entitas dan sinonim secara manual, Anda dapat memilih
kotak centang Buat sinonim __ secara otomatis per entitas saat membuat entri
entitas baru. Nilai defaultnya adalah 3 sinonim. AI akan membuat sinonim berdasarkan nilai referensi dan deskripsi jenis entity, lalu memasukkannya ke dalam tabel. Perhatikan bahwa daftar sinonim juga harus menyertakan
nilai referensi asli untuk menghasilkan kecocokan dengan nilai tersebut.
Saat mengedit jenis entity dari konsol Dialogflow CX, setiap baris tampilan adalah entri entity. Saat menggunakan API,
istilah entri entity mengacu pada
jenis Entity (EntityType.Entity atau EntityType_Entity
untuk beberapa bahasa library klien).
Nilai referensi dan sinonim entity:
Beberapa entri entity memiliki beberapa kata atau frasa
yang dianggap setara,
seperti scallion dalam contoh sebelumnya.
Untuk entri entity ini, Anda memberikan satu nilai referensi
dan satu atau beberapa sinonim.
[[["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\u003eEntity types control the extraction of data from user input in Conversational Agents (Dialogflow CX).\u003c/p\u003e\n"],["\u003cp\u003eDialogflow CX offers predefined system entities for common data types like dates and times, and allows the creation of custom entities.\u003c/p\u003e\n"],["\u003cp\u003eAn entity type defines the kind of information to be extracted, such as "vegetable" as a display name for an entity type.\u003c/p\u003e\n"],["\u003cp\u003eEntity entries within an entity type contain a reference value and a set of synonyms that are treated as equivalent in user input.\u003c/p\u003e\n"],["\u003cp\u003eDialogflow CX allows for the automatic generation of synonyms for entity reference values using AI, to simplify the process of defining entity entries.\u003c/p\u003e\n"]]],[],null,["# Entities\n\n*Entity types* are used to control how data from end-user input is extracted.\n\n\u003cbr /\u003e\n\nConversational Agents (Dialogflow CX) provides predefined\n[system entities](/dialogflow/cx/docs/concept/entity-system)\nthat can match many common types of data.\nFor example, there are system entities for matching dates,\ntimes, colors, email addresses, and so on.\nYou can also create your own\n[custom entities](/dialogflow/cx/docs/concept/entity-custom)\nfor matching custom data.\nFor example,\nyou could define a vegetable entity\nthat can match the types of vegetables available\nfor purchase with a grocery store agent.\n\nEntity terminology\n------------------\n\nThe term *entity* is used in this documentation and in the Dialogflow CX console\nto describe the general concept of entities.\nWhen discussing entity details,\nit's important to understand more specific terms:\n\n- **Entity type** :\n Defines the type of information you want to extract from user input.\n For example, *vegetable* could be the display name of an entity type.\n Clicking **Create** from the **Entity Types** section\n of the Dialogflow CX console creates an *entity type* .\n When using the API,\n the term *entity type* refers to the `EntityType` type.\n\n\n Go to the EntityType API reference\n\n **Select a protocol and version for the EntityType reference:**\n\n Close\n\n \u003cbr /\u003e\n\n- **(Optional) Description**: Describes the purpose of the entity type, for\n example \"This entity is triggered when the user mentions a vegetable\". If\n you intend to use AI generation to auto-generate reference value synonyms,\n this field will be used by the model to produce higher-quality results.\n\n- **Entity entry** :\n For each entity type, there can be many *entity entries* . Each entity entry\n provides a set of words or phrases that are considered equivalent, a\n *reference value* in the first column and one or more *synonyms* to that\n reference value in the second column. For example, if *vegetable* is an\n entity type, you could define these entity entries:\n\n Instead of entering entity entries and synonyms manually, you can select\n the **Auto-generate __ syonyms per entity** checkbox when you create a new\n entity entry. The default value is 3 synonyms. The AI will generate synonyms\n based on the reference value and entity type description and enter them in\n the table. Please note that the synonyms list must also include the\n original reference value in order to produce a match to that value.\n\n When editing an entity type from the Dialogflow CX console, each row of the\n display is an *entity entry* . When using the API,\n the term *entity entry* refers to the\n `Entity` type (`EntityType.Entity` or `EntityType_Entity`\n for some client library languages).\n- **Entity reference value and synonyms** :\n Some entity entries have multiple words or phrases\n that are considered equivalent,\n like the *scallion* in previous example.\n For these entity entries, you provide one *reference value*\n and one or more *synonyms*."]]