Skip to content

📸 Capture and share your emotions with a simple click. Let bh.AI analyze your expressions along with the chat and respond with personalized support. 🤖💬

Notifications You must be signed in to change notification settings

SowmeshSharma0411/bh.AI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bh.AI - Your Emotional Companion

Table of Contents

Inspiration

The project bh.AI is based upon a recent study that made headlines:

"20 percent of single American men confessed they had zero close friends. More than half of all men report feeling unsatisfied with the size of their friend groups."

Introduction

bh.AI is an emotional companion app designed to address the issue of loneliness and lack of emotional support. It aims to provide users with a platform to express their feelings and emotions freely. Users can log in to the app and engage in conversations with bh.AI about their emotional state.

Screenshots

Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 7
Screenshot 8 Screenshot 9
Screenshot 10 Screenshot 11

How It Works!

bh.AI is built using Flutter for the frontend, Flask for the backend, Mistral AI for querying, and Firebase for authentication. Here's how it works:

  1. User Authentication:

    • Users can sign up or log in using their email and password via Firebase authentication.
  2. Chat Functionality:

    • Upon logging in, users are presented with a chat screen where they can communicate with bh.AI about how they are feeling.
    • Users can send text messages to bh.AI, expressing their emotions and feelings.
  3. Emotion Analysis using Deepface:

    • When a user sends a message, a photo is captured of their face using the device's camera.
    • The photo is then sent as a byte stream to the backend Flask server, where a deep learning model (deepface) performs emotion analysis on the face.
    • The emotion analysis results, combined with the user's chat input, are used to formulate a query to Mistral AI, a personalized prompt engineering platform, to generate a comforting response.
  4. Storage and Personalization:

    • The app stores the user's chat history to provide personalized responses in the future.

Tech Stack

  • Frontend: Flutter - An open source cross platform UI framework, using which the beautiful screens of bh.AI were built
  • Backend: Flask - Backend for the app, uses python , does the image processing as well as queries the LLM using the prompt we engineered
  • AI Querying: Mistral AI - An open source and a secure LLM used in the project.
  • Authentication: Firebase - Backend as a Service software used to manager user authentication.

Contributors

Siddhant Jagdish

  • GitHub: Siddhant Jagdish
  • Work: Designed the entire app along with wireframing on Figma.

Shubh Kanodia

  • GitHub: Shubh Kanodia
  • Work: Frontend development, integrated login through Firebase, and implemented the chat screen with image capture.

Sowmesh Sharma

  • GitHub: Sowmesh Sharma
  • Work: Frontend development, integrated Flask with Flutter, and created endpoints for the chat service.

Shubham Kanekal

  • GitHub: Shubham Kanekal
  • Work: Worked on image analysis using DeepFace, combined chat and image data for querying Mistral, and integrated Flask and Mistral.

About

📸 Capture and share your emotions with a simple click. Let bh.AI analyze your expressions along with the chat and respond with personalized support. 🤖💬

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Dart 45.8%
  • C++ 25.3%
  • CMake 20.0%
  • Ruby 2.9%
  • Swift 2.5%
  • HTML 1.9%
  • Other 1.6%