Skip to content

Brownlow/project1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thera-bot

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.

Authors:

  • Ryan Brownlow
  • Kimarie Haverty-Bozman
  • Daniel Murray
  • Stacy Areas

Motivation:

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.

Live Site:

To begin the session click the start button:

demo

Converse with the chatbot:

demo

To end the session click the end session button:

demo

How it works:

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:

initializefirebase

Gets users input and info from firebase:

getuserinputandinfofromfirebase

Hitting the Firebase API:

hittingthefirebaseapi

Get info from firebase:

getinfofromfirebase

Displaying Content and calling Dialogflow:

contentdisplaysanddialogflowcall

About

First Group Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •