EntitySet
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tập hợp thực thể mô tả tập hợp các thực thể được xác định trước mà giá trị của tham số ý định tích hợp có thể đến từ đó. Bạn có thể tham chiếu các nhóm thực thể từ entitySet trong các tham số ý định tích hợp.
Trình bày theo YAML |
entities:
- object (Entity ) |
Trường |
entities[] |
object (Entity )
Bắt buộc. Danh sách các thực thể mà nhóm thực thể này hỗ trợ.
|
Thực thể
Thực thể nơi có giá trị tham số ý định tích hợp.
Trình bày theo YAML |
id: string |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eEntity sets define pre-determined groups of entities that built-in intent parameters can draw values from.\u003c/p\u003e\n"],["\u003cp\u003eBuilt-in intent parameters can utilize entity sets through the \u003ccode\u003eentitySet\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eEntities represent the individual values a built-in intent parameter can accept.\u003c/p\u003e\n"],["\u003cp\u003eEach entity is uniquely identified by an \u003ccode\u003eid\u003c/code\u003e and is linked to specific built-in intent parameters.\u003c/p\u003e\n"],["\u003cp\u003eYou can find a detailed list of built-in intent parameters and their associated entities in the provided documentation link.\u003c/p\u003e\n"]]],["Entity sets define the source for built-in intent parameter values. They are referenced via `entitySet` in built-in intent parameters. Entity sets contain a list of `entities`. Each entity has a required `id`, a string that identifies it. The `entities` field is a required object within the entity set. A resource is available to see a list of built-in intent parameters and supported entities.\n"],null,["# EntitySet\n\n- [YAML representation](#SCHEMA_REPRESENTATION)\n- [Entity](#Entity)\n - [YAML representation](#Entity.SCHEMA_REPRESENTATION)\n\nEntity sets describe the pre-defined set of entities that the values of built-in intent parameters can come from. Entity sets can be referenced from entitySet in built-in intent parameters.\n\n| YAML representation ||\n|-------------------------------------------------------------------------------------------------|---|\n| ``` entities: - object (/assistant/actionssdk/reference/rest/Shared.Types/EntitySet#Entity) ``` |\n\n| Fields ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `entities[]` | `object (`[Entity](/assistant/actionssdk/reference/rest/Shared.Types/EntitySet#Entity)`)` Required. The list of entities this entity set supports. |\n\nEntity\n------\n\nAn entity a built-in intent parameter value can come from.\n\n| YAML representation ||\n|--------------------|---|\n| ``` id: string ``` |\n\n| Fields ||\n|------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Required. The ID of the entity. For a list of built-in-intent parameters and their supported entities, see \u003chttps://developers.google.com/assistant/conversational/build/built-in-intents\u003e |"]]