{"id":3463,"date":"2016-11-13T15:09:09","date_gmt":"2016-11-13T15:09:09","guid":{"rendered":"http:\/\/dalelane.co.uk\/blog\/?p=3463"},"modified":"2016-11-14T22:12:12","modified_gmt":"2016-11-14T22:12:12","slug":"owlbot-faiths-first-chatbot","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=3463","title":{"rendered":"Owlbot: Faith&#8217;s first chatbot (and barcamp)"},"content":{"rendered":"<p><strong>For her talk at <a href=\"http:\/\/www.barcampsouthampton.org\/\">Barcamp Southampton<\/a> yesterday, Faith did a presentation on owls, together with a <a href=\"https:\/\/owl-chat.eu-gb.mybluemix.net\/\">chatbot she trained to answer questions about owls<\/a>.<\/strong><\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">We&#39;ve arrived at <a href=\"https:\/\/twitter.com\/hashtag\/BarcampSouthampton?src=hash\">#BarcampSouthampton<\/a> and Faith has already staked her claim on the board <a href=\"https:\/\/t.co\/i1H5Zku4Mh\">pic.twitter.com\/i1H5Zku4Mh<\/a><\/p>\n<p>&mdash; Dale Lane (@dalelane) <a href=\"https:\/\/twitter.com\/dalelane\/status\/797372512929779712\">November 12, 2016<\/a><\/p><\/blockquote>\n<p>I&#8217;ve brought Grace to a couple of barcamps with me before: <a href=\"http:\/\/dalelane.co.uk\/blog\/?p=2755\">Barcamp Berkshire<\/a> and <a href=\"http:\/\/dalelane.co.uk\/blog\/?p=3099\">Barcamp Bournemouth<\/a>. But this was Faith&#8217;s first time. <\/p>\n<p>She decided that she wanted to do a talk on owls. That wasn&#8217;t a big surprise&#8230; she&#8217;s a <a href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30838908722\">little bit obsessed with owls<\/a>.<\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30838908722\/in\/dateposted-public\/\" title=\"Some of Faith&#x27;s owls\"><img decoding=\"async\" src=\"https:\/\/c3.staticflickr.com\/6\/5531\/30838908722_44f7589ebb_z.jpg\" alt=\"Some of Faith&#x27;s owls\"\/><\/a><\/p>\n<p><!--more-->For her first presentation, I suggested that instead of just talking to slides, we could make a chatbot to do the presentation with her. That means she wouldn&#8217;t have to do as much talking, as her presentation could be her asking questions and the chatbot answering them. <\/p>\n<p>As well as hopefully making it a little easier for her to present, I thought it&#8217;d be a good chance for me to introduce her to <a href=\"https:\/\/www.google.co.uk\/webhp?q=conversation%20is%20the%20new%20ui\">the idea of chatbots<\/a> &#8211; what they are, and how you make them. <\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30900063011\/in\/dateposted-public\/\" title=\"owl chat\"><img decoding=\"async\" src=\"https:\/\/c4.staticflickr.com\/6\/5484\/30900063011_4770b187fe_z.jpg\" alt=\"owl chat\"\/><\/a><\/p>\n<p>You can try her bot out at <strong><a href=\"https:\/\/owl-chat.eu-gb.mybluemix.net\">owl-chat.eu-gb.mybluemix.net<\/a><\/strong>. <\/p>\n<p><iframe loading=\"lazy\" title=\"owlie\" width=\"450\" height=\"253\" src=\"https:\/\/www.youtube.com\/embed\/nbfAb59zECM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>She&#8217;s been working on the chatbot for a few weeks now. <\/p>\n<p>We started out doing it on paper. <\/p>\n<p>She used flash cards to collect all the info she wanted the chatbot to know. One flash card per topic. <\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30839574052\/in\/dateposted-public\/\" title=\"card - front\"><img decoding=\"async\" src=\"https:\/\/c5.staticflickr.com\/6\/5541\/30839574052_d850f653e2_n.jpg\" alt=\"card - front\"\/><\/a><\/p>\n<p>One one side, she wrote down a load of different ways that she could think of asking for information about that topic.<\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30867898541\/in\/dateposted-public\/\" title=\"card - back\"><img decoding=\"async\" src=\"https:\/\/c6.staticflickr.com\/6\/5646\/30867898541_26052856be_n.jpg\" alt=\"card - back\"\/><\/a><\/p>\n<p>On the other side, she wrote down the answer &#8211; the facts she found by doing research for her talk. She did this in red, to make it easier to tell which side of the card was which.<\/p>\n<p>We ended up with a <strong>lot<\/strong> of cards, covered in notes about owls. But it didn&#8217;t take too long &#8211; that was maybe a few afternoons, and she&#8217;s obsessed with owls, so she found it interesting. <\/p>\n<p>Then came the slower bit: typing them in! <\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30867897861\/in\/dateposted-public\/\" title=\"typing them in\"><img decoding=\"async\" src=\"https:\/\/c6.staticflickr.com\/6\/5481\/30867897861_6f5e750a20.jpg\" alt=\"typing them in\"\/><\/a><\/p>\n<p>We used IBM&#8217;s <a href=\"https:\/\/www.ibm.com\/watson\/developercloud\/conversation.html\">Conversation<\/a> service for this. It wasn&#8217;t meant to be a sales pitch, but it was just the easiest and most convenient tool for us to use for this. <\/p>\n<p>It&#8217;s all web-based so nothing to install. And for the amount she used it to do this project, the <a href=\"https:\/\/www.ibm.com\/watson\/developercloud\/conversation.html#pricing-block\">API usage doesn&#8217;t cost anything<\/a>.<\/p>\n<p>But she&#8217;s not a very fast typist, so this took a while. <\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/25320369449\/in\/dateposted-public\/\" title=\"intents\"><img decoding=\"async\" src=\"https:\/\/c2.staticflickr.com\/6\/5533\/25320369449_3d98113f80.jpg\" alt=\"intents\"\/><\/a><\/p>\n<p>First, she typed each of the questions she came up with. This was all the blue sides of the cards. <\/p>\n<p>The UI has a cards-based interface, so it was a close match to the cards we had spread out over her bedroom floor. <\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30867899821\/in\/dateposted-public\/\" title=\"intents\"><img decoding=\"async\" src=\"https:\/\/c6.staticflickr.com\/6\/5795\/30867899821_776c8a1002.jpg\" alt=\"intents\"\/><\/a><\/p>\n<p>For each card in the UI, she had to type in each of the variations that she&#8217;d written down for how to ask the question.<\/p>\n<p><a data-flickr-embed=\"true\"  href=\"https:\/\/www.flickr.com\/photos\/dalelane\/30839574542\/in\/dateposted-public\/\" title=\"dialog\"><img decoding=\"async\" src=\"https:\/\/c7.staticflickr.com\/6\/5601\/30839574542_93e984ac11.jpg\" alt=\"dialog\"\/><\/a><\/p>\n<p>Next, she had to type in the answers from the red side of the cards. <\/p>\n<p>The UI for this lets you build a conversation tree made up of nodes that you wire together to specify the flow of the dialog. It&#8217;s straightforward enough if you&#8217;re used to using computers, but was a little complex for an eight-year-old, so I built the conversation tree for her. I put all the nodes on the canvas and wired them up, but left the space for the responses empty for Faith to type in. <\/p>\n<p>She did some of them, but it ended up being a bit time-consuming so she roped her big sister in to help finish off the typing!<\/p>\n<p>[slideshare id=68780994&#038;doc=owls-161112140459]<\/p>\n<p>That was basically her talk. We explained why she likes owls. Then it was live demo time &#8211; she asked her bot some questions and let it say the answers. And she took some questions from the audience to show that it wasn&#8217;t all faked \ud83d\ude42 <\/p>\n<p>Finally, we talked a bit about what it was like to make it. <\/p>\n<p>I&#8217;ve written before about projects I&#8217;ve done with the kids to introduce them to the capabilities and behaviour of AI technologies: training a computer to <a href=\"http:\/\/dalelane.co.uk\/blog\/?p=3349\">play Rock, Paper, Scissors<\/a>, making something that <a href=\"http:\/\/dalelane.co.uk\/blog\/?p=3442\">learns to play top trumps by playing against you<\/a>, and teaching a computer to <a href=\"http:\/\/dalelane.co.uk\/blog\/?p=3330\">play Guess Who<\/a>. This ended up turning into a similar sort of project. As before, the objective wasn&#8217;t to come up with the perfect, most amazingly trained AI system &#8211; rather to give her a quick taster of what is involved in doing it, making sure to stop before it turns into a chore!<\/p>\n<p>And I think it went really well. She has a good basic idea of what chatbots are all about, and her talk went down pretty well.<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">Me: did you enjoy the session about owl bots?<a href=\"https:\/\/twitter.com\/martinGreid\">@martinGreid<\/a>: it was a hoot<br \/>&#8230;<a href=\"https:\/\/twitter.com\/hashtag\/BarcampSouthampton?src=hash\">#BarcampSouthampton<\/a><\/p>\n<p>&mdash; Dan Thomas (@DannyT) <a href=\"https:\/\/twitter.com\/DannyT\/status\/797401934571433984\">November 12, 2016<\/a><\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">Hearing about 8 yr-old Faith&#39;s owl chat-bot for teaching owl facts! <a href=\"https:\/\/twitter.com\/hashtag\/BarcampSouthampton?src=hash\">#BarcampSouthampton<\/a> <a href=\"https:\/\/t.co\/kEXT7OD4CS\">pic.twitter.com\/kEXT7OD4CS<\/a><\/p>\n<p>&mdash; Alex @ Kasaku (@kasaku_dev) <a href=\"https:\/\/twitter.com\/kasaku_dev\/status\/797393857243676672\">November 12, 2016<\/a><\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">Learning lots about owls at <a href=\"https:\/\/twitter.com\/hashtag\/BarcampSouthampton?src=hash\">#BarcampSouthampton<\/a><\/p>\n<p>&mdash; Connor (@ConnorHolyday) <a href=\"https:\/\/twitter.com\/ConnorHolyday\/status\/797396421246914560\">November 12, 2016<\/a><\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">Faith, age 8, co-presenting a talk on owls with a chatbot she made. <a href=\"https:\/\/twitter.com\/hashtag\/BarcampSouthampton?src=hash\">#BarcampSouthampton<\/a> <a href=\"https:\/\/t.co\/5SJn1XIO0C\">pic.twitter.com\/5SJn1XIO0C<\/a><\/p>\n<p>&mdash; Adrian Howard (@adrianh) <a href=\"https:\/\/twitter.com\/adrianh\/status\/797392188305002496\">November 12, 2016<\/a><\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">just in time to see Faith do her AI talk at <a href=\"https:\/\/twitter.com\/hashtag\/barcampsouthampton?src=hash\">#barcampsouthampton<\/a><\/p>\n<p>&mdash; Paul Brannigan (@proactivepaul) <a href=\"https:\/\/twitter.com\/proactivepaul\/status\/797388365335236608\">November 12, 2016<\/a><\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">Here&#8217;s Faith (aged 8!) giving her talk on an owl bot she made using IBM Watson at <a href=\"https:\/\/twitter.com\/hashtag\/barcampsouthampton?src=hash\">#barcampsouthampton<\/a> &#8211; so impressive! <a href=\"https:\/\/t.co\/ovESNJOot6\" target=\"_blank\" title=\"https:\/\/twitter.com\/3SIDEDCUBE\/status\/797390073918615553\/photo\/1\" rel=\"nofollow\">pic.twitter.com\/ovESNJOot6<\/a> <img decoding=\"async\" src=\"https:\/\/pbs.twimg.com\/media\/CxDl-PyXEAAajHg.jpg\"\/><\/p>\n<p>&mdash; 3 SIDED CUBE (@3SIDEDCUBE) <a href=\"https:\/\/twitter.com\/3SIDEDCUBE\/status\/797390073918615553\">November 12, 2016<\/a><\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">The pleasure was ours! And a huge thank you to Faith for a well-received talk! <a href=\"https:\/\/t.co\/l1tkVPzybX\">https:\/\/t.co\/l1tkVPzybX<\/a><\/p>\n<p>&mdash; Barcamp Southampton (@BarcampSouth) <a href=\"https:\/\/twitter.com\/BarcampSouth\/status\/797524063719739392\">November 12, 2016<\/a><\/p><\/blockquote>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">Inspired young <a href=\"https:\/\/twitter.com\/hashtag\/maker?src=hash\">#maker<\/a> and a proud dad. A gr8 example and a hope giving tweet. cc: <a href=\"https:\/\/twitter.com\/RDGhack\">@RDGhack<\/a> <a href=\"https:\/\/twitter.com\/RDGGeekNight\">@RDGGeekNight<\/a> <a href=\"https:\/\/t.co\/GBRwsYyCti\">https:\/\/t.co\/GBRwsYyCti<\/a><\/p>\n<p>&mdash; Mike gets Thingitude (@mikethebee) <a href=\"https:\/\/twitter.com\/mikethebee\/status\/797528722060492801\">November 12, 2016<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><br \/>\n<script async src=\"\/\/embedr.flickr.com\/assets\/client-code.js\" charset=\"utf-8\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For her talk at Barcamp Southampton yesterday, Faith did a presentation on owls, together with a chatbot she trained to answer questions about owls. We&#39;ve arrived at #BarcampSouthampton and Faith has already staked her claim on the board pic.twitter.com\/i1H5Zku4Mh &mdash; Dale Lane (@dalelane) November 12, 2016 I&#8217;ve brought Grace to a couple of barcamps with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,328],"tags":[274,575,238,505],"class_list":["post-3463","post","type-post","status-publish","format-standard","hentry","category-ibm","category-kids","tag-barcamp","tag-barcampsouthampton","tag-children","tag-watson"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3463"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3463\/revisions"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}