2 Star 1 Fork 1

mirrors_RasaHQ/financial-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_rasa_shell_with_ide.py 625 Bytes
一键复制 编辑 原始数据 按行查看 历史
Arjaan Buijk 提交于 2020-09-15 11:07 . e2e tests for all non-form stories
"""This script allows use of an IDE (Wing, Pycharm, ...) to run the rasa shell:
(-) Place this script in root of Rasa bot project
(-) Open & run it from within your IDE
(-) In Wing, use External Console for better experience.
"""
import os
import sys
# insert path of this script in syspath so custom modules will be found
sys.path.insert(1, os.path.dirname(os.path.abspath(__file__)))
#
# This is exactly like issuing the command:
# $ rasa shell --debug
#
#
sys.argv.append("shell")
sys.argv.append("--enable-api")
sys.argv.append("--debug")
if __name__ == "__main__":
from rasa.__main__ import main
main()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_RasaHQ/financial-demo.git
git@gitee.com:mirrors_RasaHQ/financial-demo.git
mirrors_RasaHQ
financial-demo
financial-demo
main

搜索帮助