语言

EntityRecommendation 类

定义

Luis实体推荐。 更多信息请查看 https://www.luis.ai/Help 。

[System.Serializable]
public class EntityRecommendation
[<System.Serializable>]
type EntityRecommendation = class
Public Class EntityRecommendation
继承
EntityRecommendation
属性

构造函数

名称 说明
EntityRecommendation()

初始化 EntityRecommendation 类的新实例。

EntityRecommendation(String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, IDictionary<String,Object>)

初始化 EntityRecommendation 类的新实例。

属性

名称 说明
EndIndex

LUIS查询字符串中实体的终结索引。

Entity

由LUIS提取的实体。

Resolution

一种机器可解释的实体解析。 例如,字符串“one thousand”的解析为“1000”。 解析的具体形式由实体类型定义,文档见此处: https://www.luis.ai/Help#PreBuiltEntities。

Role

实体的角色。

Score

评分由LUIS分配给检测到的实体。

StartIndex

在LUIS查询字符串中开始实体的索引。

Type

实体的类型。

方法

名称 说明
Validate()

验证对象。 验证失败时抛出 ValidationException。

适用于