Deployed to GitHub Pages: https://brownlow.github.io/project1/
This bot was built to help those dealing with any kind of emotion. You can have a semi-intelligent conversation and depending on how you feel the bot will play you a song from youtube as well as show you the video. When a user visits the site they can click the start session button and the bot greets them and the conversation can start. You can leave the session at anytime by saying "I don't want to talk" and the session will end.
- Ryan Brownlow
- Kimarie Haverty-Bozman
- Daniel Murray
- Stacy Areas
When our group came together we were immediately interested in the idea of using a chatbot to do something interesting and beneficial for people. Initially, we were attracted to the ideas of humor and music as a way to entertain our users and positively impact their moods. We quickly found ourselves discussing the idea of building a therapist, and were trying to incorporate these original notions. We toyed with the idea of a sarcastic humorous therapist, but as we did more research into available APIs we began to lean further towards music. Though it doesn't take a psychologist to know that music can have a great impact on the emotional wellbeing of the listener, research would agree. “Music therapy significantly diminished patients’ negative symptoms, increased their ability to converse with others, reduced their social isolation, and increased their level of interest in external events. As music therapy has no side-effects and is relatively inexpensive, it merits further evaluation and wider application.” (Tang, 1994) Given these ideas we decided to create an application that would help people find the kind of music that may be most therapeutic to them and their specific mood.
To begin the session click the start button:
Converse with the chatbot:
To end the session click the end session button:
Thera-Bot uses CSS, Bootstrap, and JavaScript on the front end. Information is stored in the Firebase Database. The chatbot is built using the Dialogflow API. Thera-bot accesses a variety of libraries such as Google Fonts, Animate.css, and lettering.js.
Libraries: jQuery, Bootstrap, Google Fonts, Animate.css, and lettering.js
Code to initialize firebase:
Gets users input and info from firebase:
Hitting the Firebase API:
Get info from firebase:
Displaying Content and calling Dialogflow: