IntentRecognitionEventArgs class
意向识别结果事件参数。
构造函数
| Intent |
创建和初始化此类的实例。 |
构造函数详细信息
IntentRecognitionEventArgs(IntentRecognitionResult, number, string)
创建和初始化此类的实例。
new IntentRecognitionEventArgs(result: IntentRecognitionResult, offset?: number, sessionId?: string)
参数
- result
- IntentRecognitionResult
意向识别的结果。
- offset
-
number
偏移量。
- sessionId
-
string
会话 ID。
属性详细信息
offset
表示消息偏移量
number offset
属性值
number
result
sessionId
表示会话标识符。
string sessionId
属性值
string
表示会话标识符。