EntitySet
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
实体集描述了内置 intent 参数的值可来自的预定义实体集。可以从内置 intent 参数中的 entitySet 引用实体集。
YAML 表示法 |
entities:
- object (Entity ) |
字段 |
entities[] |
object (Entity )
必需。此实体集支持的实体列表。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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 |"]]