Git Product home page Git Product logo

moodverse's Introduction

Moodverse

Mental health advocacy is something our entire team is very passionate about. We wanted to use this opportunity to prototype a solution that addresses the need for quick, short-term self-help services based on the principles of cognitive behavioural therapy. And thus the Moodverse mental wellness chatbot was born!

Moodverse is the next generation chatbot to improve your mood.

Moodverse example usage

Use Case

Say you're experiencing a low mood and want to talk it out with Moodverse. Moodverse will use natural language processing and your conversation to identify the severity of your low mood and the possible sources of stress or anxiety leading up to it.

Based on that, it will try and get you to identify cognitive distortions, that is, patterns of negative thinking, and talk you through reframing them to help you feel better!

Moodverse also gives you insights over time about your mood and the common negative patterns of thinking you've had in the recent past.

Requirements installation

pip install -r requirements.txt

Usage

To start the development server, run server.py. To start the front end run npm run start in the angular project located in Server/front.

In nlp.py set the path to your Google Service Account Key.

Models

Sentiment Analysis Model

  • Used Google Cloud's NLP API to gain insights about how users feel about certain stressors they talk about.
  • Generated a self-love score to know how users were feeling about themselves during a session

Generative Models

  • Used generative models to come up with sympathetic and encouraging statements.

Cognitive Distortions Model

  • Used cosine similarity between sentences with cognitive distortions and new input sentences to detect and classify common cognitive distortions.

Technology Used

Backend

  • Google Cloud Platform Natural Language Processing, Compute Engine, Firestore
  • Python Flask, Socket.io
  • Keras
  • PyTorch
  • LTSM Models
  • RNN Models
  • Text Generation

Frontend

  • Angular

What's Next

  • Gaining more input from healthcare specialists
  • Integrating voice-to-text features
  • Integration with smart home devices

moodverse's People

Contributors

addy999 avatar deysonali avatar nigel5 avatar rain169170 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.