Entity interface
属性
| category | 实体类型。 |
| confidence |
提取实体的 0 到 1 之间的置信度分数。 |
| length | 实体文本的长度。 使用不同的“stringIndexType”值可能会影响返回的长度。 |
| offset | 实体文本的起始位置。 使用不同的“stringIndexType”值可能会影响返回的偏移量。 |
| subcategory | (可选)实体子类型。 |
| text | 请求中显示的实体文本。 |
属性详细信息
category
实体类型。
category: string
属性值
string
confidenceScore
提取实体的 0 到 1 之间的置信度分数。
confidenceScore: number
属性值
number
length
实体文本的长度。 使用不同的“stringIndexType”值可能会影响返回的长度。
length: number
属性值
number
offset
实体文本的起始位置。 使用不同的“stringIndexType”值可能会影响返回的偏移量。
offset: number
属性值
number
subcategory
(可选)实体子类型。
subcategory?: string
属性值
string
text
请求中显示的实体文本。
text: string
属性值
string