dialogflow 语音聊天机器人如何结束对话
How the dialogflow voice chatbot end conversation
我已经使用 python 完成了我的 Dialogflow 语音对话聊天机器人,但目前我是 运行 使用循环的对话聊天机器人。所以我的对话是 运行 直到循环结束。云端使用webhook和dialogflow intent开发
那么,一旦在云中结束聊天以结束 python 应用程序中的通知,我该如何结束对话。
我在我的 python 代码中添加了以下打印,所以我得到了 end_conversation 意图,在下面我添加了 end_conversation 日志。
print('Fulfillment text: {} \n'.format(query_result))
结束对话记录:
intent_detection_confidence: 1.0
diagnostic_info{
领域{
键:“end_conversation”
价值 {
bool_value:真
}
}
我已经使用 python 完成了我的 Dialogflow 语音对话聊天机器人,但目前我是 运行 使用循环的对话聊天机器人。所以我的对话是 运行 直到循环结束。云端使用webhook和dialogflow intent开发
那么,一旦在云中结束聊天以结束 python 应用程序中的通知,我该如何结束对话。
我在我的 python 代码中添加了以下打印,所以我得到了 end_conversation 意图,在下面我添加了 end_conversation 日志。
print('Fulfillment text: {} \n'.format(query_result))
结束对话记录:
intent_detection_confidence: 1.0 diagnostic_info{ 领域{ 键:“end_conversation” 价值 { bool_value:真 } }