文件名称:core_ordering:订购机器人
文件大小:57KB
文件格式:ZIP
更新时间:2024-03-25 10:10:46
Python
酷宝 Bot Framework v4核心bot示例。 该机器人是使用创建的,它显示了如何: 使用实施核心AI功能 使用对话框实现多轮对话 处理诸如“ Help或“ Cancel类的用户中断 提示并验证来自用户的信息请求 先决条件 此示例需要先决条件才能运行。 概述 该机器人使用基于AI的认知服务来实现语言理解。 创建一个LUIS应用程序以支持语言理解 可以在CognitiveModels/FlightBooking.json下找到此示例的LUIS模型,并且可以在找到LUIS语言模型的设置,培训和应用程序配置步骤。 创建LUIS模型后,请使用LuisAppId , LuisAPIKey和LuisAPIHostName更新config.py 。 " LuisAppId " : " Your LUIS App Id " , " LuisAPIKey " : " Your LUIS
【文件预览】:
core_ordering-master
----.DS_Store(8KB)
----.github()
--------workflows()
----config.py(917B)
----README-LUIS.md(9KB)
----dialogs()
--------.DS_Store(6KB)
--------__init__.py(460B)
--------orderstatus_dialog.py(4KB)
--------main_dialog.py(5KB)
--------date_resolver_dialog.py(3KB)
--------__pycache__()
--------cancel_and_help_dialog.py(2KB)
--------ordertracking_dialog.py(4KB)
----app.py(3KB)
----requirements.txt(117B)
----helpers()
--------luis_helper.py(5KB)
--------dialog_helper.py(692B)
--------__init__.py(216B)
--------__pycache__()
--------activity_helper.py(1KB)
----.idea()
--------misc.xml(195B)
--------inspectionProfiles()
--------modules.xml(278B)
--------core_ordering.iml(284B)
--------.gitignore(47B)
--------vcs.xml(180B)
----cognitiveModels()
--------FlightBooking.json(6KB)
----cards()
--------welcomeCard.json(1KB)
----README.md(3KB)
----__pycache__()
--------ordering_recognizer.cpython-37.pyc(1KB)
--------config.cpython-37.pyc(717B)
--------ordering_details.cpython-37.pyc(577B)
--------booking_details.cpython-37.pyc(731B)
--------adapter_with_error_handler.cpython-37.pyc(2KB)
----bots()
--------dialog_and_welcome_bot.py(2KB)
--------__init__.py(233B)
--------dialog_bot.py(1KB)
--------__pycache__()
----ordering_recognizer.py(1KB)
----ordering_details.py(273B)
----adapter_with_error_handler.py(2KB)
----deploymentTemplates()
--------template-with-preexisting-rg.json(10KB)
--------template-with-new-rg.json(13KB)