DialogManagerConfiguration interface

属性

conversationState

用于保留机器人对话堆栈的 State 属性。

expireAfter

可选。 机器人会话状态过期的毫秒数。

rootDialog

onTurn () 方法开始的根对话框。

stateConfiguration

可选。 用于与机器人聊天的路径解析器和内存范围。

userState

可选。 机器人保留用户状态。

属性详细信息

conversationState

用于保留机器人对话堆栈的 State 属性。

conversationState: BotState

属性值

BotState

expireAfter

可选。 机器人会话状态过期的毫秒数。

expireAfter?: number

属性值

number

rootDialog

onTurn () 方法开始的根对话框。

rootDialog: Dialog

属性值

stateConfiguration

可选。 用于与机器人聊天的路径解析器和内存范围。

stateConfiguration?: DialogStateManagerConfiguration

属性值

userState

可选。 机器人保留用户状态。

userState?: UserState

属性值

UserState