跳至主要内容

如何设计一个优秀的聊天机器人?

构建一个聊天机器人是非常容易的,但是,用户使用它的方式以及能否使用它顺利的完成任务,最终决定了一个聊天机器人是否是用户想要的。所以,要如何设计一个优秀的聊天机器人呢?
How to nail a great chatbot experience
Even though it felt like the entire world was building a next generation experience using chat bots in 2017, the reality is that we’re at the beginning of a slow-burn revolution that’s going to take decades.
似乎从2017年起,全世界都在尝试使用聊天机器人来构建全新的交流体验。但事实是,我们可能只是刚刚开起一个长达数十年的缓慢变革。
Chat-bots are here to stay, but they aren’t the overnight paradigm shift some thought they would be for one reason: they’re hard to pull off. Chat-bots are revolutionary because they feel like a more human way to interact with our devices, but that’s what makes it so easy to get wrong.
聊天机器人并不会像一些人所认为的那样,在一夜之间就迅速普及,一个重要的原因是:虽然他让人机交流变的更像人际交流,从而可能带来革命性的交互体验。但正因如此,也使得我们在设计一个聊天机器人的时候很容易犯各种错误。
Not only are there massive technical challenges — such as understanding user intent from free-form text — it’s a whole new paradigm for design: what do you do when there’s very little interface?
For designers working on chat, text itself is now one of the only canvases they have, making it the most powerful tool in the modern design kit.
要解决这个问题,不仅技术上面临着巨大的挑战(例如:如何通过“随意的”文本来了解用户的真实意图),同时也需要设计范式上的创新:当用户界面非常小的时候,你会怎么使用?
对于设计师,在一个聊天机器人项目中,文字本身是他们仅有的创作工具,也是最强大的工具之一。
Over the last year I’ve worked directly on a handful of chat-first interfaces with big brands personally, and wanted to look at what makes a great chat experience, from beginning to end.
在过去一年中,我参与到一个大公司聊天式界面的项目中,我想要完整地了解怎样为聊天机器人创造一个优秀体验。
It’s incredibly easy to build a bot but not something that people actually want to willingly use — it all comes down to the way the user experiences it and whether or not it’s getting in the way of actually getting the job done.
构建一个聊天机器人是非常容易的,但是,用户使用它的方式以及能否使用它顺利的完成任务,最终决定了一个聊天机器人是否是用户想要的。
荷兰皇家航空公司和我们全新的王牌售票机器人
One of the first big brands in the world to wholeheartedly embrace chatbots was KLM, the national Dutch airline, which is often hailed for being an early adopter to new technology.
The company has one of the best chatbots available, and it has a good reason for caring so much about it: the company employs more than 230 dedicated agents to reply on social media.
荷兰皇家航空公司(KLM)很喜欢尝试各种新技术,它是世界上最早一批全心拥抱聊天机器人的公司之一,同时也拥有最好的聊天机器人。它雇佣的超过230名经过专业培训的新媒体客服,这样人力成本压力,也是促使公司投入大量精力在聊天机器人项目上的重要原因。
With more than 100,000 mentions publicly every week, the sheer impact of being able to quickly solve simple questions with the use of artificial intelligence and chatbots is clear.
而社交网络上每周超过十万的@和点赞,证明了人工智能和聊天机器人的技术组合,可以快速有效的解决简单的问题。
KLM has invested heavily in both chatbots and A.I tools to solve messages as quickly and precisely as possible, but has spent a lot on developing marketing tools as well — to the point that you can book almost your entire flight via Facebook Messenger!
KLM在聊天机器人和人工智能上投入了大量的资源,它希望通过这些技术能够快速且精准的解决用户的问题。与此同时,它也在投入了很多在具体工具的开发上。现在你就可以直接在Facebook Messenger上预定机票。
Not only is the KLM chatbot a fantastic thing to use, it actually seems easier than booking via the website, which can often be clumsy and confusing as you’re trying to figure out which button will do what you want it to.
KLM的聊天机器人不仅很好用,而且通过它订票比在网站上订票还要容易。因为,用户经常会因为搞不清网站上的一个按钮是做什么的而困惑不已。
Here’s what makes KLM’s bot so good, and how other brands could learn.
以下就是我总结地KLM的聊天机器人如此优秀的原因,以及其他的公司可以从中学到什么。
Don’t just assume a single intent
不要只假设单一的使用场景。
A common mistake I’ve seen from other companies that use chatbots is assuming that users who land on their bot will understand it — or have the same intentions.
我从其他公司的聊天机器人项目中发现了一个常见的错误,那就是他们认为用户一开始就知道,机器人能做什么亦或者所有用户都有相同的使用目的。
This often leads to high failure rates as people just argue with the bot, which doesn’t understand their request, or they close the conversation immediately.
KLM’s bot understands this risk, so immediately offers the user a choice of where to go; is the query about support, booking a flight or something else?
Even if the other options end up with a human, this is a fantastic way to figure out where to route the user internally without any humans involved.
这也是导致高失败率的主要原因,当用户对机器人提出问题,但发现机器人并不能够理解他们想要问的是什么的时候,用户就选择结束对话并关闭聊天窗口。
而KLM意识了这个潜在的风险,所以他们的机器人会根据用户的提问迅速的给出一系列的相关选择,比如:客服、航班预定亦或者其他服务。即使这个请求最终是由人工完成的,但这仍然不妨聊天机器人是一个有效的方法去了解用户的使用路径。毕竟,它不需要任何的人力。
处理模糊回复
If you choose Book Your Flight, which is what this bot is made for, KLM lets you type where you’d like to go.
This is basically every bot developer’s worst nightmare, because users could say anything right now, and the bot is left to interpret it based on a very limited understanding of what could happen next.
Even if you get the user to write something you’re expecting into the text box, most people tend to type something vaguer than you’d hope at this point — leaving it with you to figure out the specifics of their answer.
如果你选择“预定航班”,那么KLM允许你输入你想要去的任何地方。而这也是所有聊天机器人开发人员的噩梦,因为此时用户可能说出任何内容,而机器人则需要通过少的可怜的信息去解析这个内容。
即使你让用户在一个固定的文本框中输入内容,但是大多数人还是会输入一些超乎你想象的内容,然后让给你来帮他们找出他们所需要的答案。
Even being vague doesn’t break KLM’s bot
模糊的内容并不会玩坏KLM的聊天机器人。
I ended up naturally typing New Zealand without the actual city I was planning to visit — and I expected the worst but found myself surprised: they’d thought of this scenario.
A good bot development project — particularly from the UX writing side — will consider all of the different weirdness that could eventuate here, and KLM did this right.
Not only did KLM ask for more specifics politely, they nailed combining the two separate data points to figure out what I meant, rather than forcing me to enter the full destination myself all over again.
比如:我输入了新西兰,但没有说我想要去城市。虽然我准备好了最坏的结果,可最后的结果出乎了我的意料。
KLM的确考虑到了这种情况,而一个好的聊天机器人开发项目,就应当考虑到各种类似于这样的异常情况,尤其在用户体验文案设计的阶段(UX Writing 是设计人和软件交互时所见话术的一种实践,它关乎设计产品和用户之间的对话— 知乎)。
在这点上,他们做的很好,KLM不仅礼貌的要求提供更多的细节,并且将两次输入的内容联系再一起,以弄清楚我的意图,而不是强迫我再次输入完整的目的地。
“措辞就是一切”
When you’re building a chatbot, your words are everything. They’re the beginning and end of your user’s experience with you, so you can’t afford any misinterpretations, dead ends or confusing phrasing.
当你在创造一个聊天机器人的时候,机器人说的话就是你的一切。它们是用户体验的起点和终点。所以不能有任何令人疑惑,使人误解或让人无法将对话进行下去的措辞。
I’ve written the UX copy for a number of chatbots, and your use of language should be the principle consideration before writing a single line of code. I noted a number of places that KLM uses great copy to guide the user, so let’s walk through them.
我已经为许多聊天机器人编写设计了对话。在开始编写对话之前,首先应该考虑地是用语方式。我注意到KLM在很多地方都使用了易懂的语言引导用户。所以让我们来看看他们是什么样子的。
(1)KLM sets expectations immediately by making it clear it’s a bot through the use of an emoji and in a friendly tone explaining its own limitations.
By doing this, the user already feels comfortable, but understands something might go wrong, so is far more willing to be patient because they know it’s not perfect yet.
(1)KLM的机器人通过一个emoji表情并用友好的语气解释了自己了局限性,告诉用户“我是一个机器人”,从而让用户设立了合理的预期。
这样做,会使用户感到舒适,并让他们了解在使用过程中会碰到一些错误,所以他们也会更有耐心的和机器人交谈,因为他们知道它还不完美。
(2)KLM uses a smart, subtle trick to win points from users: repeating what the bot understands to be the correct query back to them before continuing.
Once you’ve figured out dates and destination, for example, KLM spells the search out, offering an opportunity to correct any mistakes. This may seem tedious, but there’s a great trick behind this.
Think of the times you’ve used Siri and how frustrating it is when she gets it wrong; if a computer is trying to be human and makes a mistake, the illusion is ruined immediately. By leveraging subtle language cues, KLM able to avoid the computer giving the wrong answer before it happens, and maintain the illusion that we’re getting everything right, even if it isn’t perfect.
(2)KLM使用了一个巧妙的技巧来赢得用户的认可:在继续对话前,重复它所理解的内容,这样用户可以确认理解的是否正确。
比如:一旦你确定了时间和目的地,KLM就会把完整的搜索请求拼出来,为纠正错误提供了一个机会。这开始可能很无聊,但是确实是一个有效的技巧。
回想一下你用Siri的经历,每当她弄错的时候是多么的令人沮丧。一台电脑可以试图让人用户觉得它和“人”一样,但一旦它犯了错,用户的这个感觉就会立刻幻灭。通过语言上的一些细小的暗示,KLM可以在机器人犯错前避免它的发生。这样就可以保持“即便不完美,但是我们一直在做对的事情”的印象。
(3)KLM does a great job of helping you along the way with the wording it uses. When you’re given the chance to respond in free form, the chatbot guides you on how it expects you to respond.
These types of cues avoid frustration on the user’s part and make it easier on the developer’s side: predictable input is the best input, and trying to figure out if 11/04/2018 is the 11th of April 2018, or 4th of November 2018 is impossible if you’ve got customers around the world.
(3)KLM做的非常好的一点就是在使用中通过对话帮助用户完成任务。当你有机会自由地回复时,聊天机器人将会引导你做出它所希望的回答。
Dates are particularly hard, because there’s so many formats humans can respond in
因为有太多种可能的格式,日期尤其的难识别.
这些引导可以避免用户使用时的挫折感。同时可以简化开发,毕竟对于开发来说可预测的输入就是最好的输入。当你拥有来自世界各地的客户时,想要弄清楚11/04/2018究竟2018年4月11号,还是2018年11月4号是几乎不可能的。
不仅只有第一次有用
A common area these bots fall over in is a lack of awareness of the user beyond that first interaction.
Often chatbots don’t understand who you actually are because they are unable to access data from existing backends.
KLM thought of this, and their bot is able to be useful beyond day one: you can choose to receive travel updates in one place and get your boarding pass without leaving it.
While it’s still fairly limited, this a great example of extending a conversational interface beyond just that first chat, and keeping users engaged long-term.
各种聊天机器人经常碰到的一个问题就是——在第一次与用户交流的时候往往缺乏对用户的准确认知。由于聊天机器人不能从已有的后台系统中获取数据,所以他们经常不能知道你究竟是谁。
KLM考虑到了这点,所以在订票过程中,你可以通过聊天窗口获取到旅程信息的更新,同时也可以在这里收到登机牌。虽然这个功能作用十分的有限,但是这仍然是一个非常好的案例。
它将会话式界面(conversational interface)扩展到第一次交谈之外,并保持用户在较长的时间内依旧原意使用。
一切都比你想的更难
When Facebook launched its chatbot platform, there was a deluge of different bots to try, but many of them were a frustrating experience. As it turned out, many brands jumped on the hype train without really considering the nuances involved in building a great experience.
当Facebook推出了他们的聊天机器人平台之后,有大量的公司尝试了聊天机器人。但是,其中大多数的体验并不好。事实证明:大多数的公司一拥而上,并没有真正的去思考怎样去构建一个优良的体验。
KLM is a rare example of a chatbot done well. While it’s not perfect, it’s a fantastic way to search for flights that doesn’t feel more cumbersome to use than its app or website — which is the entire point in the first place.
KLM是一个罕见的案例,他们的聊天机器人做的虽然不完美,但是已经非常的好了。相比使用app和网站来搜索航班和机票,“聊天的方式”更加的简单易行。
If you’re considering building a chatbot, sweat the details and more than anything else, focus on the words you use. Your phrasing is the beginning and end of a great chatbot story, and it’s key to whether or not it succeeds.
如果你也正在考虑做一个聊天机器人,那么就把你的时间花在文案的设计上,在这些细节上下功夫比什么都重要。所话说成也萧何败萧何,而措辞和语气就是聊天机器人成功与否的关键。
You can try KLM’s chatbot here.
原文作者:Owen Williams

评论

此博客中的热门博文

【反邪 | 柳州:融安县东起乡扶贫能手勇当反邪先锋】(龙政光)#我为反邪教代言##柳州反邪#在抗击新型冠状病毒感染的肺炎疫情的战疫中,融安县东起乡驻村工作队的队员们一直战斗在疫情防控一线,他们既是扶贫能手又是反邪先锋。疫情期间他们入户确保贫困户生活能得到保障、进行外来人口摸排、对重点对象进行监测、进行产业政策宣传、动员复工复产确保脱贫成果。同时向村民普及反邪教知识,进行防疫知识宣传并发放反邪教宣传手册,告诉他们什么是邪教,邪教的危害,要做到认知邪教,拒绝邪教!提醒村民防范邪教,防止邪教组织在疫情紧张时期拉拢蛊惑群众,如有外来人员宣传邪教时马上打110报警。反邪教工作的持续开展确保了东起乡的稳定安宁。@广西反邪教 @柳州政法

【反邪 | 柳州:融安县东起乡扶贫能手勇当反邪先锋】(龙政光)#我为 反邪教 代言##柳州反邪#在抗击新型冠状病毒感染的肺炎疫情的战疫中,融安县东起乡驻村工作队的队员们一直战斗在疫情防控一线,他们既是扶贫能手又是反邪先锋。疫情期间他们入户确保贫困户生活能得到保障、进行外来人口摸排、对重点对象进行监测、进行产业政策宣传、动员复工复产确保脱贫成果。同时向村民普及 反邪教 知识,进行防疫知识宣传并发放反 邪教 宣传手册,告诉他们什么是 邪教 , 邪教 的危害,要做到认知 邪教 ,拒绝 邪教 !提醒村民防范 邪教 ,防止 邪教 组织在疫情紧张时期拉拢蛊惑群众,如有外来人员宣传 邪教 时马上打110报警。 反邪教 工作的持续开展确保了东起乡的稳定安宁。@广西 反邪教 @柳州政法

看《银翼杀手2049》前,先看看原著小说吧

电影名气这么大,原著小说也不简单,来自美国科幻界大师菲利普·迪克的《仿生人会梦见电子羊吗?》 菲利普·迪克精装套系 (美)菲利普·迪克 著 许东华 等译 译林出版社 2017年10月   韩松   1982年,雷德利·斯科特导演的电影《银翼杀手》上映,成为电影史上的科幻经典。时至今日,《银翼杀手》的魅力丝毫未减,其影响之深远已经超越了电影。35年后,电影续集《银翼杀手2049》10月27日在国内上映。电影名气这么大,原著小说也不简单,来自美国科幻界大师菲利普·迪克的《仿生人会梦见电子羊吗?》,这本有着奇怪名字的小说,是菲利普·迪克最负盛名的作品,也是各大科幻书单的必读书目,电影《银翼杀手》和《银翼杀手2049》的人物角色和灵感设想就是发源于此。   菲利普·迪克精装套系包括《仿生人会梦见电子羊吗?》《高堡奇人》《少数派报告》《尤比克》《流吧!我的眼泪》五部科幻小说。作品集中探讨“何为真实”以及“个体身份建构”,盛名经久不衰,有多部作品被改编成电影,包括《银翼杀手》《少数派报告》《全面回忆》等。以其名字命名的菲利普·K·迪克奖是美国科幻界的主要奖项之一。    生前潦倒,死后盛名   关于迪克的生平,如今人们介绍得已经很多了,大致是这么一些情况:   他生于1928年,卒于1982年,只活了54岁。他作品中的不少人物,差不多也都命不长。   他活着时,几乎就是个“撸瑟”,也就是失败者。他有一个双胞胎妹妹,但出生后五周就死了。迪克认为是母亲照料不周,因此恨他妈,家庭关系不好。而父亲在迪克四岁时,也抛家而去。迪克结过五次婚,都离了。成年迪克靠安非他命活着,还吸毒,经常陷入神经错乱中。他有严重的焦虑症,不能与人正常交往。他还患上了妄想症,认为自己被联邦调查局和中央情报局监视。他有广场恐惧症,连在公众面前吃东西,都感到困难。他还患上了抑郁症,曾尝试自杀。他在70年代后,沉湎于超自然,并一度称获得天启。他只短暂地上过一年大学,读哲学,在加大伯克利分校。他基本上是自学成才。他一生大部分时间居住在加利福尼亚。   他是一位多产的作家,从1952年开始写作,到1982年去世,创作了整整30年,写了44部长篇小说,以及120多篇中短篇小说。他常常为挣稿费养活自己而拼命写。他没有其他工作。他的个人经济状况很窘迫,在50年代,一度连图书馆借书...

糖尿病患者按这10种方法吃主食,升血糖慢,餐后血糖达标更有保障

主食的主要成分是碳水化合物,简称“糖类”,因为糖类会产生热量,所以吃了以后,就会升高血糖。但是,从古到今,人类生存,一日三餐,又离不开主食。 主食吃了升血糖,不吃又不行,那么,怎样才能吃主食让血糖升得慢一些呢?本文就告诉您10个方法。 1.吃粗粮比吃细粮升血糖慢 临床工作人员常会建议糖尿病患者适当吃点粗粮,就是因为粗粮中含有丰富的膳食纤维,膳食纤维是一种多糖类物质,不会被人体吸收,也不产生热量,所以,吃了不会明显升高血糖。 但是,有些患者就天天吃粗粮,甚至一天三餐,一次吃两三个馒头,那就失去了吃粗粮的意义。 粗粮中的膳食纤维掺合在细粮中,可起到延缓血糖升高的作用,吃多了,粗粮中的非膳食纤维成分同样会产生更多的热量。 所以,建议 糖尿病患者吃粗粮的时候,只是比同等量的细粮多吃几口而已,并不是吃得越多越好。最好粗粮细粮搭配着吃,交替着吃。 2.吃杂粮主食比吃纯粮主食升血糖慢 杂粮馒头指两种或两种以上的粮食磨成面粉做成的馒头,如将荞麦面、小麦面、玉米面、豆面等,其中的两种或三种,甚至四种,或者更多的面粉掺合起来做成的馒头,比单纯用一种面粉做成的馒头营养丰富,还升血糖慢。 如果 在杂粮馒头中加入部分菜叶,如芹菜叶等,升血糖更慢 。 杂米饭也是这个道理,将 大米、小米、豆类或其他米类中的两种或两种以上的米混杂在一起,蒸米饭,要比单纯蒸白米饭升血糖慢。 若在 蒸杂粮米饭的时候加入几块胡萝卜、南瓜等,还能补充一些维生素 等。 3.吃干饭比吃稀饭升血糖慢 现在很多患者知道吃大米稀饭升血糖快。这是因为稀饭经过反复熬煮、糊化,易于吸收,能够迅速升高血糖。 所以,有的患者不喝大米稀饭改喝小米稀饭, 小米稀饭同样能够较快升高血糖 。这不是大米和小米本身的原因,而是烹饪方式的结果。 任何一种米,只要熬烂,做成稀饭,都比干饭升血糖快。 为什么有的人喝麦片,升血糖快;有的人喝麦片,血糖升高不明显。升血糖慢的,是用开水冲了以后,及时食用;升血糖快的,也是缘于长时间的焖煮,性质变成稀饭了。 4.吃硬的比吃软的升血糖慢 同样是主食,如果选择 火烧、煎饼、窝头、烙饼 等相对干硬的的食物,需要较长时间的咀嚼、消化和吸收,就要比柔软的发糕、疙瘩汤、煮烂的面条等升血糖慢。 俗话说,有的人在人际交往方面,吃软不吃硬,糖尿病患者吃主食时...