June 24: Chatbot

Making My Very Own FAQ Chatbot

Hello, my lovely genteel readers. Today in STEM Skills we worked with, yes you guessed it, AI. Specifically, we made our very own Chatbot. So, in this blog I will be discussing what I did, how I did it, and how it works.

So first to understand what I did you must know what a Chatbot is. A Chatbot is a computer program coded to answer and reply automatically to a user who may have inquiries or to generally do any task the programmer desires. 

So, for my first chatbot, as I was new to this I simply used the code given to me. But I changed the questions and answers to similar questions and answers but much more interesting. For example, instead of having the possible option that the user will say "How are you?" I changed it to "What is your favorite sanrio character?". As you can see it is of a similar format but still different. Doing this to all three of the questions I ended up with this as my final code...

Now after becoming an absolute pro at making a Chatbot (jk) I moved onto the real task. making a Facebook page and having a fully functioning chatbot work and be attached to it. So first when doing this I used my Facebook account but went to settings to make a page. When making the page it was a little hard because I wasn't sure what I would categorize it as, but aiming for the option closest I categorized it as a Music Chart because what I wanted for my Chatbot to do was list song recommendations based on the user's mood. And this was the result of my page that is currently still running so feel free to test it! 



But to get to the real meat of this. The programing. Using Chatfuel I made my Chatbot. I had started with a template given to answer FAQs (frequently asked questions). And the idea was that that using the given flow (the way the Chatbot’s responses will “flow” during usage) I modified it so that I gave different quick answers the user could select based on moods such as sad, angry, or excited and then the Chatbot would reply to that answer with its on special automated message that would give song suggestions to the user based on the user’s choice. The final result looked like this…



Now while I know this looks so cool and I especially make it look easy to do (kidding). It was difficult to navigate Chatfuel at the beginning because it all looked jumbled with the beginning template and knowing what to do or how to edit the flow was especially hard too. In addition to this making a facebook page was a little difficult as well as if one was not familiar with facebook, finding where to make the page would be a little hard. But overall it was not too bad as I learned how to make a Chatbot with both a template and code which may greatly benefit me in the future if I start a company and need to have a Chatbot.

Comments

Popular posts from this blog

June 4: Engineering Design Process

June 17: Data Visualization and AI Overview