简体   繁体   English

需要部署与 rasa model 集成的反应 web 应用程序

[英]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.

相关问题 如何将 React Web 应用程序部署到 Fiori Launchpad? - How to deploy a React web app to the Fiori Launchpad? 如何在 Apache Web 服务器上部署 React 应用程序 - How to deploy a React App on Apache web server 在 Apache Web 服务器上部署 create-react-app - Deploy create-react-app on Apache web server 我可以将 react.js Web 应用程序部署到共享主机吗? - Can I deploy react.js web app to a share hosting? 如何在 IIS 上使用 ASP.Net Web API 部署 React 应用程序? - How to deploy a React App with ASP .Net Web API on IIS? 将 RASA POST webhook API 连接到 React web UI 时出错 - Error of connecting with RASA POST webhook API into React web UI 在 React 中将组件与集成的应用程序代码隔离 - Isolating components from integrated app code in React ESLint 是如何集成到 Create React App 中的? - How is ESLint integrated into Create React App? 无法部署 React 应用程序 - Unable To Deploy React App 如果我部署我的 React 应用程序,指向 localhost 的链接是否仍然有效,还是我还需要托管 localhost 应用程序? - If I deploy my react app, will the link to a localhost still be valid, or will I also need to host the localhost app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM