<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pete Haas on Medium]]></title>
        <description><![CDATA[Stories by Pete Haas on Medium]]></description>
        <link>https://medium.com/@ConversationCurve?source=rss-3cd381362bf8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2BPNITKlii1WkLb6.jpg</url>
            <title>Stories by Pete Haas on Medium</title>
            <link>https://medium.com/@ConversationCurve?source=rss-3cd381362bf8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:54:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ConversationCurve/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Advanced Conversations — Part 1]]></title>
            <link>https://blog.chatbotslife.com/advanced-conversations-part-1-c312da96c985?source=rss-3cd381362bf8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c312da96c985</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[voice-assistant]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[bixby]]></category>
            <category><![CDATA[bots]]></category>
            <dc:creator><![CDATA[Pete Haas]]></dc:creator>
            <pubDate>Sun, 03 May 2020 12:41:31 GMT</pubDate>
            <atom:updated>2020-07-23T13:37:13.290Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*KeOzuDS6p48-Y72rL1twNg.png" /><figcaption><a href="https://dribbble.com/shots/6650804-Conversations">Source</a></figcaption></figure><h3>Advanced Conversations — Part 1</h3><p>Over the last few years, I’ve been building <a href="https://chatbotslife.com/">chatbots</a>, and voice enabled conversations on Alexa, Google Assistant, and Samsung Bixby. I also created hundreds of IVR voice applications for phone systems over the last 1.5 decades. <strong>In the next few articles, I hope to share my experience walking through the design and development of a multi-modal application that can respond to user requests through voice, touch, and type. Let’s get started!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*oI2UhSKKSJdJ4P413S0y7w.png" /></figure><h3>Trending Chatbot Articles:</h3><blockquote><a href="https://chatbotslife.com/top-5-music-bots-for-discord-and-telegram-eefaa1fe6957">1. Top 5 Music Bots for Discord and Telegram</a></blockquote><blockquote><a href="https://chatbotslife.com/guide-how-to-create-a-damn-cool-multi-language-chatbot-with-manychat-dcbe3f85542e">2. GUIDE: How to Create a (damn cool) Multi-Language Chatbot with Manychat</a></blockquote><blockquote><a href="https://chatbotslife.com/a-powerful-chatbot-cms-solution-for-conversational-chatbots-optimal-access-ddbed6597b7b">3. A Powerful Chatbot CMS Solution for Conversational Chatbots</a></blockquote><blockquote><a href="https://chatbotslife.com/platforms-nlp-systems-and-courses-for-voice-bots-and-chatbots-c4a23a62af6f">4. Platforms, NLP Systems, and Courses for Voice Bots and Chatbots</a></blockquote><p><a href="https://docs.spacexdata.com/?version=latest"><strong>The SpaceX API</strong></a></p><p>One of the biggest struggles developing something interesting, is to find a <strong>rich</strong> source of data that has images, videos, and useful information. I found this free api that returns information about SpaceX launches, their rockets, and stats about each mission. You can find it <a href="https://docs.spacexdata.com/?version=latest">here</a>. We’ll step through the development of a multi-modal app that can respond to both voice and touch responses from the user. At the end, you will have built a full fledged <a href="https://chatbotslife.com/">voice assistant</a> that will query the API providing rich information about SpaceX. The source code can be found <a href="https://github.com/petehaas/space-race">here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*aPm6WnSib7EByo_ftfBxiw.png" /><figcaption>The SpaceX API documentation</figcaption></figure><h3><strong>Space Race</strong></h3><p>We’re going to use that API to build this application — Space Race. This on-demand service will answer questions about SpaceX, launches, and specifics about capabilities of their rockets that will eventually go to Mars.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*MeGeYdDw-I1yJu9OyOpm9w.png" /></figure><p>I chose to build this example on Samsung Bixby for a few reasons.</p><ol><li><strong>Full Featured</strong> — The development experience is full-featured. You can build the entire ‘capsule’ (that’s what they call an app) in an IDE they give for free called Bixby Studio. You can sign up for an account and download the IDE <a href="https://bixbydevelopers.com/">here</a>. They provide a simulator, so it’s very much like developing for mobile.</li><li><strong>Multi-Modal </strong>— Bixby is multi-modal from the start, so the development of a visual interface that responds to <a href="https://chatbotslife.com/">voice</a> interactions is very natural.</li><li><strong>Multi-surface</strong> — Build the experience once, and run it on a phone, watch, tv, etc. Bixby is letting third party developers build now, and launch to other devices and marketplaces around the world. As of this writing, developers can launch capsules (no pun intended) to US and Korea marketplaces and Bixby’s available on newer model Samsung phones and tablets.</li></ol><blockquote><strong>It’s like voice-enabling an API</strong></blockquote><p><strong>The first thing you need to do is list out the phrases a user could reasonably expect to speak to your application. This can be a paralyzing process because you need to put some thought into it.</strong></p><p><strong>Let’s look at the SpaceX API to see this in practice.</strong></p><p><strong>SpaceX Launches</strong></p><p><a href="https://api.spacexdata.com/v3/launches">https://api.spacexdata.com/v3/launches</a></p><p>You can paste this endpoint in a browser and it will return every launch since 2006. That’s fine if a user says ‘show me all launches’…but we can provide more richness to the experience. Looking at the API docs, you can see it will filter by <strong>launch date</strong> and the <strong>rocket</strong> used for the mission. Immediately you can support these sorts of phrases</p><blockquote>Find Launches [<strong>this year</strong>]</blockquote><blockquote>Show me all [<strong>Falcon Heavy</strong>] launches [<strong>last year</strong>]</blockquote><p>List all [<strong>upcoming</strong>] [<strong>Falcon 9</strong>] launches</p><p>Only show [<strong>previous</strong>] launches</p><p>There would be more variation, but you quickly realize what your inputs are. In this case, let the user filter the API request by these 4 inputs: launchDate, rocket, upcoming, and previous.</p><p><em>It’s our job to process natural language user queries into logical visual and audio responses. Breaking down the interactions, I came up with this model for queries to the API for a single intent: </em><strong><em>GetLaunches</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*wB-dv3Hueo6PUJw1sp-yaA.png" /></figure><p>Now, if you’ve never built an app for Bixby…that’s fine. Just reading the syntax for the ‘GetLaunches’ action you can see how this works. What you’re saying in the code is that the user doesn’t need to provide any of the inputs (they’re optional by default), and you want to bring back launch information: <em>output(Launch)</em>.</p><p>If you look at an input like ‘LaunchDate’…that is functioning as a natural language date. You can say ‘next Tuesday’, ‘May 20th 2020’ or ‘last year’. The platform understands this and converts it into a format that a developer can work with like ‘2010-12-08T15:43:00.000Z’. The same holds true on other platforms. You may have also noticed some code about ‘default-select’. That’s a way of telling Bixby to pick the first date instead of prompting the user to disambiguate (fine for our purposes).</p><p>Now that you’ve modeled an interaction, we can assign some language to it and bring it to life!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*oj24qIUufvUM_w6frda_hw.png" /></figure><p>It’s important to provide clean input, so you only want to tag words in the phrase that will become inputs for your action. In this case, we want to tag the SpaceX rockets: Falcon 1, Falcon 9, Falcon Heavy, and Starship (coming in 2021). We also provide training entries with dates (next month), and no inputs — ‘<em>Show SpaceX launches</em>’. The number of examples you use for training really depends on your use case. Provide ‘<strong>as many as you need</strong>’, meaning…you’ll be testing your model to see if it’s correctly parsing the language and routing it to the correct intent while also parsing the inputs.</p><h3>The importance of great interaction design</h3><p>Good developers and designers have empathy for their users. Understanding conversational experiences create ambiguity is critical to building intuitive interactions that serve the user. Think of these interactions like a journey. At first, they need lots of cues to know what they can and cannot do. Eventually, you can take off the training wheels and introduce more functionality as they become more comfortable.</p><blockquote>Consider the user can say ANYTHING, so how do you handle unbounded input?</blockquote><p>Some rules to apply:</p><ol><li>Build a default interaction that will be activated if the user says ‘help’, ‘start over’, ‘how does this work’, etc. Bonus points if you add a contextual response to <em>this</em>?</li><li>If you collect input from the user, ask them very naturally without being too verbose. Expand your explanation when they’re having trouble. Be dynamic, don’t repeat application responses. Instead, alter their phrasing when re-prompting.</li><li><strong>Try to ground the conversation</strong>. We do this as humans. Sometimes we get off course, and we want to get back to a productive exchange. When we don’t understand the user, or they provide no input…consider giving them an explanation of what’s happening and why. Give them the option to exit, so no interactions have a dead end. For example, “<em>Looks like I’m having trouble collecting your preference, would you like to continue?”</em>.</li></ol><p>Part 2 — Stay tuned, I’ll be posting it soon.</p><h3>Don’t forget to give us your 👏 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*ZxaGcKC3UQEydQIX" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e59ef%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e59ef&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e59ef%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href">https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href</a></iframe><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.53x0py6ou"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*c1LDMH5vbnIz9rmAka8Hwg.png" /></a></figure><figure><a href="https://chatbotslife.com/chatbot-development-hire-top-ai-chatbot-developers-c8b45ef7f207"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c312da96c985" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/advanced-conversations-part-1-c312da96c985">Advanced Conversations — Part 1</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>