[英]How to add a chatbot widget that uses Watson Conversation in my website?
I want to add a chatbot in my web page like this one chatbot 我想像这样一个聊天机器人在我的网页中添加一个聊天机器人
it should be at the bottom right of the web page. 它应该在网页的右下方。
i read a lot of guides: https://github.com/watson-developer-cloud/text-bot?cm_mc_uid=55864532344114098377155&cm_mc_sid_50200000= 我读了很多指南: https : //github.com/watson-developer-cloud/text-bot?cm_mc_uid=55864532344114098377155&cm_mc_sid_50200000=
and a lot more, but i still can't figure out how to add Watson conversation as a chatbot widget in my website. 等等,但我仍然不知道如何在我的网站中添加Watson对话作为聊天机器人小部件。
You can use Watson Conversation, but, try to read the official documentation and get started with this Service. 您可以使用Watson Conversation,但是,请尝试阅读官方文档并开始使用此服务。
Summary: You need to create one Conversation Service inside IBM Bluemix, and after, create one Workspace and teach you Chatbot. 简介:您需要在IBM Bluemix中创建一个对话服务,然后创建一个工作区并教您Chatbot。
And for add your chatbot in your Website, you need build one custom code for calling the Watson Conversation and creates one front-end for the conversation. 为了在您的网站中添加聊天机器人,您需要构建一个自定义代码来调用Watson Conversation,并为该对话创建一个前端。
You can see this project from IBM Developers here using Watson Conversation, this example uses Node.js and are developed by IBM. 您可以在此处使用Watson Conversation从IBM Developers看到该项目,此示例使用Node.js,由IBM开发。
Check chatlio.com 检查chatlio.com
This is a nice and simple widget you can use in your website. 这是一个非常漂亮且简单的小部件,可以在您的网站中使用。 It's built upon Slack, so you need to create a bot in Slack, and follow the simple
nodejs
code mentioned in Chatlio documentation. 它基于Slack构建,因此您需要在Slack中创建一个机器人,并遵循Chatlio文档中提到的简单的
nodejs
代码。
It's a simple middleware that will listen to messages from user or Watson conversation, and posted it back to to the user, in the widget. 这是一个简单的中间件,它将在小部件中侦听来自用户或Watson对话的消息,并将其发布回给用户。 It smart's to know who is the sender and who is the receiver.
知道谁是发送者,谁是接收者是明智的。
Give it a try! 试试看!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.