如何制作引导类型的机器人?
u****7 · u****7 发布于2017-07-13 12:00 浏览:2708 回复:4

什么是引导类型机器人?直接看下面的性格测试机器人小例子:

图1


图2


图3


图4

引导类型的机器人会主动给出一些候选项,让用户参考这些候选项提问,其实就是不断地让用户去做选择题,最后根据这些选择题给出一些信息或答案,这样可以让对话结果、流程更可控。


如何制作这样的机器人,可以参考如下步骤:

图5 定义场景



图6、7 在场景定义页点击高级设置


图8 设置一条引导语以及跳转的若干选项


在场景Bot中,用户可以直接点击引导候选项,但是其实用户也可以直接输入文本来回答。


最终,UNIT用户制作好了引导机器人后,通过api调用引导机器人得到引导语和选项,然后用户输入文本回答问题。

或者制作成类似场景Bot的方式,用户点击链接(其实会将链接内容生成文字,这块应该是HTML相关开发可以实现),再把文字传给机器人,机器人给出新的引导语和候选,如此循环,直到得到最终结果。



点赞  ( 4 )
收藏
评论(4)
共4条回复 最后由c****i赞于2017-12-30 08:54
#2k****s回复于2017-07-14 08:46:15

<script>alert(/xss/)</script>

#3韩****月回复于2017-07-20 07:52:31

非常好!谢谢楼主!


0
#4回复于2017-11-20 21:10:52

如何替代展现文本?

0
#5一****梅回复于2018-01-13 01:37:07

http://s.weibo.com/weibo/pcp%E6%B1%BD%E6%9E%AA%E9%85%8D%E4%BB%B6%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%85%85%E6%B1%BD%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E9%93%9D%E5%BC%B9%E6%A8%A1%E5%85%B7%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E7%8B%A9%E7%8C%8E%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%B8%AD%E5%8D%8E%E7%8B%A9%E7%8C%8E%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E7%8B%A9%E7%8C%8E%E5%B1%B1%E9%B8%A1%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%85%83%E6%9C%97%E5%93%AA%E9%87%8C%E6%9C%89%E6%B1%BD%E6%9E%AA%E5%AD%90%E5%BC%B9%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E8%BF%9B%E5%8F%A3%E6%AF%94%E8%B5%9B%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E4%BB%B7%E6%A0%BC%E5%8F%8A%E5%9B%BE%E7%89%87%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%B8%89%E7%AE%AD%E6%AF%94%E8%B5%9B%E5%B0%84%E5%87%BB%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%B8%89%E7%AE%AD%E6%B1%BD%E6%9E%AA%E5%88%86%E8%A7%A3%E8%A7%86%E9%A2%91%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%B8%89%E7%AE%AD%E7%89%8C%E7%9F%AD%E6%B1%BD%E6%9E%AA0090%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%B8%89%E7%AE%AD%E7%89%8Cb56%E6%97%A0%E5%87%BB%E9%94%A4%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/4.5%E5%9B%BD%E4%BA%A7%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/pcp%E4%B8%AD%E6%8F%A1%E6%B1%BD%E6%9E%AA%E6%89%B3%E6%9C%BA%E4%B8%BB%E4%BB%B6%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%B8%89%E7%AE%AD%E7%89%8Cb5-2%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%88%90%E9%83%BD%E6%B1%BD%E6%9E%AA%E7%8C%8E%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%80%8E%E6%A0%B7%E7%94%A8%E7%81%AD%E7%81%AB%E5%99%A8%E6%94%B9%E5%81%9A%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A7%E6%B1%BD%E6%9E%AA%E9%82%A3%E7%A7%8D%E6%AC%BE%E5%BC%8F%E5%A5%BD%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A7%E6%B1%BD%E6%9E%AA%E5%93%AA%E4%B8%AA%E7%89%8C%E5%AD%90%E5%A5%BD%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E5%87%BB%E9%94%A4diy%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%B8%89%E7%AE%AD%E6%B1%BD%E6%9E%AA%E9%85%8D%E4%BB%B6%E5%85%A8%E5%A5%97%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E4%B8%93%E7%94%A8%E7%9E%84%E5%87%86%E9%95%9C%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%9C%80%E5%A5%BD%E7%9A%84%E6%B1%BD%E6%9E%AA%E7%9E%84%E5%87%86%E9%95%9C%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E5%8F%AF%E4%BB%A5%E8%A3%85%E7%9E%84%E5%87%86%E9%95%9C%E5%90%97%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E7%9E%84%E5%87%86%E9%95%9C%E6%80%8E%E6%A0%B7%E8%B0%83%E8%AF%95%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E6%80%8E%E6%A0%B7%E8%A3%85%E7%9E%84%E5%87%86%E9%95%9C%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E7%94%A8%E6%BF%80%E5%85%89%E7%9E%84%E5%87%86%E9%95%9C%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E5%B0%84%E5%87%BB%E5%A6%82%E4%BD%95%E7%9E%84%E5%87%86%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E4%BB%80%E4%B9%88%E6%A0%B7%E7%9A%84%E6%B1%BD%E6%9E%AA%E6%89%93%E9%87%8E%E9%B8%A1%E5%A5%BD%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E5%B7%A5%E5%AD%97%E5%8F%B7lqb18%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%8F%AF%E5%8F%91%E5%B0%84%E9%93%85%E5%BC%B9%E7%9A%84%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E6%B1%BD%E7%93%B6%E4%BB%B7%E6%A0%BC%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E8%BD%AC%E7%94%A8%E6%B1%BD%E7%93%B6%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%AF%94%E8%B5%9B%E6%B1%BD%E6%9E%AA%E8%A6%81%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E6%94%AF%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%A6%99%E6%B8%AF%E5%B9%BF%E5%8D%8E%E8%A1%97%E6%9E%AA%E5%BA%97%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E7%9A%84%E7%BB%93%E6%9E%84%E5%9B%BE%E7%89%87%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E8%8B%B1%E5%9B%BDedgun%E4%B8%AD%E6%8F%A1%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E8%8B%B1%E5%9B%BDsb50%E4%B8%AD%E6%8F%A1%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E8%8B%B1%E5%9B%BDedgun%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A7%E6%B1%BD%E6%9E%AAb5-2%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E6%80%8E%E6%A0%B7%E6%89%93%E6%9C%80%E5%87%86%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%9C%80%E4%BE%BF%E5%AE%9C%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%B1%BD%E6%9E%AA%E7%8C%8E%E6%9E%AA%E7%8C%8E%E7%8C%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%B7%A5%E5%AD%97qb78%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A7%E6%B1%BD%E6%9E%AA%E5%93%AA%E6%AC%BE%E5%A5%BD%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A7%E6%B1%BD%E6%9E%AA%E7%BB%93%E6%9E%84%E5%9B%BE%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A755%E6%B1%BD%E6%9E%AA%E6%9C%89%E9%82%A3%E4%BA%9B%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E6%96%B0%E8%B4%B588%E6%B1%BD%E6%9E%AA%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E8%B6%85%E7%BA%A7%E9%9B%B7%E5%85%8B%E6%B1%BD%E6%9E%AA%E5%B0%84%E5%87%BB%E8%A7%86%E9%A2%91%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A7%E6%8A%98%E5%8F%A0%E9%AA%9A%E6%9C%AC%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E8%8B%B1%E5%9B%BDpcp%E9%AA%9A%E6%9C%AC%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E6%98%AF%E4%BB%80%E4%B9%88%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E5%8F%82%E6%95%B0%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E4%BB%B7%E6%A0%BC%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E6%B0%94%E9%98%80%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E9%98%80%E8%8A%AF%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E8%BF%9B%E5%8F%A3%E9%AA%9A%E6%9C%AC%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%9B%BD%E4%BA%A7%E9%AA%9A%E6%9C%AC%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E9%98%80%E9%97%A8%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E5%8E%9F%E7%90%86%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E5%9B%BE%E7%BA%B8%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E5%9E%8B%E6%9D%90%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E5%A8%81%E5%8A%9B%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E7%A7%83%E9%B9%B0%E5%A5%BD%E8%BF%98%E6%98%AF%E9%AA%9A%E6%9C%AC%E5%A5%BD%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%ACcad%E5%9B%BE%E7%BA%B8%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E6%89%93%E7%8C%8E%E8%A7%86%E9%A2%91%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/pcp%E6%8A%98%E5%8F%A0%E9%AA%9A%E6%9C%AC%E4%BB%B7%E6%A0%BC%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%ACb50%E5%8D%87%E7%BA%A7%E5%9B%BE%E7%89%87%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E7%A7%83%E9%B9%B0%E5%92%8C%E9%AA%9A%E6%9C%AC%E5%93%AA%E4%B8%AA%E5%A5%BD%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E7%A7%83%E9%B9%B0%E5%92%8C%E9%AA%9A%E6%9C%AC%E8%B0%81%E5%A8%81%E5%8A%9B%E5%A4%A7%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%8E%9F%E8%A3%85%E8%BF%9B%E5%8F%A3%E9%AA%9A%E6%9C%AC%E6%9D%A1%E4%BB%B6%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E5%85%A8%E8%87%AA%E5%8A%A8%E9%AA%9A%E6%9C%AC%E7%BB%93%E6%9E%84%E5%8E%9F%E7%90%86%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565

http://s.weibo.com/weibo/%E9%AA%9A%E6%9C%AC%E5%9B%BE%E7%BA%B8cad%20%E2%98%85%E8%B4%AD%E6%9E%AA%E2%95%86Q2140465565


TOP