[英]Need to deploy a react web app integrated with rasa model
I followed this tutorial "https://towardsdatascience.com/how-to-create-a-weather-chatbot-b8ef1b1d6703".我按照本教程“https://towardsdatascience.com/how-to-create-a-weather-chatbot-b8ef1b1d6703”。 Now, I was wondering how can I deploy this react interface with the rasa model on the web.现在,我想知道如何在 web 上使用 rasa model 部署这个反应接口。
I have a react chatbot user interface that is running my rasa model.我有一个反应聊天机器人用户界面,它正在运行我的 rasa model。 I have to start my rasa server on my local machine and then I have to start my react app server to run the chatbot.我必须在我的本地机器上启动我的 rasa 服务器,然后我必须启动我的 react 应用服务器来运行聊天机器人。 I know how to deploy a react web app.我知道如何部署一个反应 web 应用程序。 I need to know how can I deploy this application(both rasa model and react web app) Would really appreciate the help.我需要知道如何部署此应用程序(rasa model 和反应 web 应用程序)非常感谢您的帮助。
In this case, you will need one server for your React App, and the second one for the Rasa server.在这种情况下,您的 React App 需要一台服务器,Rasa 服务器需要另一台服务器。 After that, you will be able to call your Rasa Server.之后,您将能够调用您的 Rasa 服务器。 So try to use the Rasa Heroku setup template for your backend.因此,请尝试为您的后端使用 Rasa Heroku 设置模板。
Also if You will want to use rasa custom actions, you will need to create a separate server for this purpose and connect the NLU server and Action server through action_endpoint on NLU side.此外,如果您想使用 rasa 自定义操作,则需要为此创建一个单独的服务器,并通过 NLU 端的 action_endpoint 连接 NLU 服务器和操作服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.