gpt4 book ai didi

rasa-nlu - 如何将 Rasa Chatbot 集成到网站中?

转载 作者:行者123 更新时间:2023-12-05 06:19:45 24 4
gpt4 key购买 nike

I have installed Rasa Core and NLU in my computer and after training and build the models now my chatbot is ready but I'm not getting clear documentation or way to deploy or integrate with a website.

I have 'Rasa' named folder and 'venv' virtual environment. I tried to put it into a website but they are blocking the files. So what is the method to put the Rasa chatbot into the website for 24/7 live chat?

最佳答案

要将聊天机器人连接到网站,请尝试使用 https://github.com/botfront/rasa-webchat即“一个聊天小部件,用于在任何网站上部署使用 Rasa 或 Botfront 制作的虚拟助手。”您需要添加类似

的内容
socketio:
user_message_evt: user_uttered
bot_message_evt: bot_uttered
session_persistence: true/false

到您的 credentials.yml。参见 https://rasa.com/docs/rasa/user-guide/connectors/your-own-website/有关连接到您自己的网站的更多详细信息。

在部署方面,部署 rasa 聊天机器人的推荐方法是使用 Rasa X,使用 docker-compose 或 kubernetes/openshift。最简单的方法是使用 one line deploy script .

关于rasa-nlu - 如何将 Rasa Chatbot 集成到网站中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60734052/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com