<?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 Mira el Kamali on Medium]]></title>
        <description><![CDATA[Stories by Mira el Kamali on Medium]]></description>
        <link>https://medium.com/@mirakamali?source=rss-72d73891019f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*M9sMCXS7x9Nmtz9I.</url>
            <title>Stories by Mira el Kamali on Medium</title>
            <link>https://medium.com/@mirakamali?source=rss-72d73891019f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:03:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mirakamali/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[The steps I have taken to draw a full architecture design for my vocal assistant]]></title>
            <link>https://medium.com/empathic-labs/the-steps-i-have-taken-to-draw-a-full-architecture-design-for-my-vocal-assistant-ea5dcfa743c2?source=rss-72d73891019f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea5dcfa743c2</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[smart-speaker]]></category>
            <category><![CDATA[conversational-agents]]></category>
            <category><![CDATA[assistant-vocal]]></category>
            <category><![CDATA[chatbot-design]]></category>
            <dc:creator><![CDATA[Mira el Kamali]]></dc:creator>
            <pubDate>Fri, 30 Oct 2020 07:19:25 GMT</pubDate>
            <atom:updated>2020-10-30T07:19:25.787Z</atom:updated>
            <content:encoded><![CDATA[<h4>Front end and back end design full steps</h4><p>My name is <a href="https://humantech.institute/people/mira-el-kamali/22/?tab=5"><strong>Mira El Kamali</strong></a>. I am a PhD student at the University of Fribourg, Switzerland. I also work in collaboration at the Humantech institute. I work in a European project called NESTORE that aims to build a virtual coach for older adults’ wellbeing. You can check the whole idea of NESTORE in the video below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwMHKPrC_kCk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwMHKPrC_kCk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwMHKPrC_kCk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1ecc06325d7837638f916f432ec67be5/href">https://medium.com/media/1ecc06325d7837638f916f432ec67be5/href</a></iframe><p><strong>NESTORE is a virtual coach and it comes in a different form of interfaces:</strong></p><ol><li>A chatbot which we defined it as a textual chat messaging application</li><li>A tangible coach which is a vocal assistant that has tangible abilities and vocal capabilities. (which this article will focus on)</li><li>A mobile application containing the user profile, the activities, the score, and graphs personalized for each user.</li><li>A web application</li></ol><p>Users are also monitored by different kinds of sensing devices and beacons.</p><p>The whole logic is also supported by a decision support system that helps the system to make its best decision based on the user’s preferences, needs, and context.</p><p>If you would like to know more in detail about my project and how it works, you can refer to some of <a href="https://scholar.google.ch/citations?user=GwxNimIAAAAJ&amp;hl=en"><strong>my articles</strong></a> in the reference list.</p><p>1 ) El Kamali, M., Angelini, L., Caon, M., Andreoni, G., Khaled, O. A., &amp; Mugellini, E. (2018, October). Towards the nestore e-coach: a tangible and embodied conversational agent for older adults. In <em>Proceedings of the 2018 ACM International Joint Conference and 2018 International Symposium on Pervasive and Ubiquitous Computing and Wearable Computers</em> (pp. 1656–1663).</p><p>2) El Kamali, M., Angelini, L., Caon, M., Lalanne, D., Abou Khaled, O., &amp; Mugellini, E. (2020, July). An embodied and ubiquitous E-coach for accompanying older adults towards a Better lifestyle. In <em>International Conference on Human-Computer Interaction</em> (pp. 23–35). Springer, Cham.</p><p>3) El Kamali, M., Angelini, L., Caon, M., Carrino, F., Röcke, C., Guye, S., … &amp; Kniestedt, I. (2020). Virtual Coaches for Older Adults’ Wellbeing: A Systematic Review. <em>IEEE Access</em>.</p><p>4) El Kamali, M., Angelini, L., Caon, M., Khaled, O. A., Mugellini, E., Dulack, N., … &amp; Andreoni, G. (2020, July). NESTORE: Mobile Chatbot and Tangible Vocal Assistant to Support Older Adults’ Wellbeing. In <em>Proceedings of the 2nd Conference on Conversational User Interfaces</em> (pp. 1–3).</p><p>5) El Kamali, M., Angelini, L., Abou Khaled, O., &amp; Mugellini, E. (2020, June). NESTORE: Un compagnon multimodal pour les séniors. In <em>Workshop sur les Affects, Compagnons artificiels et Interactions</em>.</p><h3>Building a tangible coach</h3><p>This article focuses on how I built my tangible coach. In fact, I will be focusing on everything you need to know that will help you to do your first vocal assistant from scratch.</p><h4>1. Define your vocal assistant capabilities</h4><p>The vocal assistant is a smart speaker that is capable to have a conversation with the user using speech and audio. If you are only interested in making your bot speak and hear then “vocal capability” is what you need. In the case of NESTORE, we wanted to have a smart speaker that can go into a sleep mode to avoid making it listen to the user all time. Hence, we created 2 positions (figure below). This is what we called “tangible capability”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ep67Oa24gdx7ub45" /></figure><p>What kind of vocal assistant would you like to have? There is a list of things your vocal assistant can do next to speak.</p><p>A — Image detection</p><p>B — Object and persona detection</p><p>C — Notifications, reminders</p><p>D — Empathic e-coach</p><p>E — Movable e-coach, Depict human acts, etc</p><h4>2. Define your vocal assistant design</h4><p>My vocal assistant was co-designed with users (our target audience). We used a 3D printer to print our final design. I recommend you draw the design of your final product which will help you also to decide which size of hardware you will need to put them inside your vocal assistant 3D design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/0*ejyk9iYWKwrOh6wg" /></figure><h4>3. Search, Test, and Decide the list of hardware you will need to use</h4><p>In the case of the NESTORE tangible coach, I tested several hardware such as Raspberry Pi 0, 2 b model, 3 a+ model, Pi Juice battery, wireless charging, matrix voice, respeaker 2 mics, respeaker 4 mics. I tested the LIS3DH accelerometers, LED neopixels, etc..</p><p>Based on my bot capabilities and hardware testing, I made my list.</p><h4><strong>4. Understand the technologies that exist to build your front end</strong></h4><p>Your vocal assistant should speak and understand your language. You can use Google Assistant libraries or Amazon Alexa, however, in my case, I wanted to make sure that all data are only stored in Europe, to have full control of the conversation flow, and to be multi-lingual. I compared different speech recognition APIs until I chose the one that suits my project. Examples of speech recognition APIs are such as Google Speech API, IBM Watson API, SpeechAPI, Speech to Text API, Text-to-Speech API, Rev.AI API, ReadSpeaker API, Speech2Topics API, Siri API, Wit API.</p><h4>5. Set your front end design flow</h4><p>Front-end design can start with for example a wake word to wake up the bot, a listening phase, a thinking phase, and a speaking phase. For each phase, I chose a LED pattern to differentiate from the other phase. I used Python with Raspberry Pi. The figure below shows the front end design flow that I draw to build my vocal assistant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*pvzyNHMliy_DyjsYrRBH9A.png" /></figure><h4>6. Understand the technologies that exist to build your backend</h4><p>We studied the current state of the art about chatbots, develop our own in the context of project NESTORE. Set your needs, compare different frameworks, and find what suits you best.</p><p><em>Our needs :</em></p><ol><li>The chatbot supports English, Dutch, Italian, and Spanish.</li><li>The discussions can be based on the user’s data and history, giving when necessary a personal response.</li><li>Data have to be stored in Europe and privacy has to be guaranteed.</li><li>The user can send an image to the chatbot</li></ol><p>There are dozens of existing chatbot platforms. We have chosen to analyze the most popular, and the ones that can be interesting based on a table presented in an <a href="https://chatbotsjournal.com/">article</a>, a specialized website that presents articles about chatbots. The article is relatively recent (May 2017). Things evolve very fastly in the chatbot world. We briefly check again the supported languages in the respective official documentation for the main platforms. The figure below shows the different analyses we have made along with each framework according to our needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QUoOen3WBOXz-qpc8dSosQ.png" /></figure><h4>7. Draw your final architecture design</h4><p>The figure below shows the final architecture design for my vocal assistant</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*ZKWWlg5lz-UHucIn_RL-5Q.png" /></figure><h4>7. Start coding :)</h4><p>The languages I used are Python3 (front-end) and NodeJS(backend).</p><p><em>Thank you for reading my article. I hope it was beneficial. Please send me your final design architecture to my email mirakamali81@gmail.com to check it out! Bonne chance!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea5dcfa743c2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/empathic-labs/the-steps-i-have-taken-to-draw-a-full-architecture-design-for-my-vocal-assistant-ea5dcfa743c2">The steps I have taken to draw a full architecture design for my vocal assistant</a> was originally published in <a href="https://medium.com/empathic-labs">Empathic Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>