部署rasa-nlu并访问api,而无需安装服务器或安装docker

问题描述

我已经安装了rasa和rasa-nlu

使用

pip install rasa
pip install rasa-nlu

我只想从我的项目中使用此rasa,意味着只需调用rasa api即可获取输出

 http://localhost:5005/webhooks/rest/webhook 

为此,我想将我的rasa nlu部署在一个给定的ip中,我想从任何地方访问api

我该怎么做?? /

我尝试过这个总和

python -m  rasa_nlu.server --path /home/fdp/project/machine 

我的endpoint.yml

nlu:
     url: "http://<ip>:5000"

显示错误

2020-09-15 07:35:47.701946: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory
2020-09-15 07:35:47.702020: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory
2020-09-15 07:35:47.702029: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT,please make sure the missing libraries mentioned above are installed properly.
2020-09-15 07:35:48+0000 [-] Log opened.
2020-09-15 07:35:48+0000 [-] Site starting on 5000
2020-09-15 07:35:48+0000 [-] Starting factory <twisted.web.server.Site object at 0x7fed78d63588>
^C2020-09-15 07:40:11+0000 [-] Received SIGINT,shutting down.
2020-09-15 07:40:11+0000 [twisted.web.server.Site] (TCP Port 5000 Closed)
2020-09-15 07:40:11+0000 [-] Stopping factory <twisted.web.server.Site object at 0x7fed78d63588>

我如何部署我的rasa并使用api ...我不需要任何服务器安装(例如rasa X =服务器安装)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...