Skip to content

About

Prototype wellness tracking app that collects daily self-reports (questionnaires, multiple choice) and generates a personalized wellness score. Uses off-the-shelf LLMs to transform subjective symptom data into structured, actionable insights.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Wellness Tracker

Overview

A prototype wellness tracking app that collects daily self-reports through questionnaires and multiple-choice inputs, then generates a personalized wellness score. Built to explore how off-the-shelf large language models (LLMs) can transform subjective symptom narratives into structured, clinically relevant insights. This repository serves as an open prototype for developing tools that bridge patient self-reporting and actionable wellness metrics.

Installation

  1. Install dependencies:
pip install -r requirements.txt
  1. Copy environment configuration:
cp .env.example .env
  1. (Optional) Add your OpenAI API key to .env for enhanced AI insights. Without it, the app uses a local keyword-based fallback.

    • Copy .env.example to .env and set OPENAI_API_KEY.
    • Optionally set OPENAI_MODEL (default: gpt-3.5-turbo).
  2. Run the application:

python app.py
  1. Open http://localhost:5000 in your browser

Features

  • Daily Self-Reports: Interactive questionnaires with multiple-choice inputs
  • Wellness Score: Personalized scoring algorithm based on mood, energy, sleep, and stress
  • AI Insights: LLM-powered analysis of symptom narratives (OpenAI Chat Completions when configured; keyword-based fallback otherwise)
  • Progress Tracking: Historical data and trend analysis
  • User-Friendly Interface: Responsive web interface with real-time feedback

API Endpoints

  • POST /api/users - Create a new user
  • POST /api/users/{id}/reports - Submit daily wellness report
  • GET /api/users/{id}/reports - Get wellness reports
  • GET /api/users/{id}/wellness-summary - Get wellness summary and trends

Technology Stack

  • Backend: Flask, SQLAlchemy
  • Frontend: HTML5, CSS3, JavaScript, Bootstrap
  • Database: SQLite (easily configurable to PostgreSQL/MySQL)
  • AI Integration: OpenAI Chat Completions (env-configurable) with safe fallback

Future Enhancements

  • Advanced LLM integration for deeper symptom analysis
  • Data visualization with charts and trends
  • Mobile app development
  • Integration with wearable devices
  • Multi-user support with authentication

About

Prototype wellness tracking app that collects daily self-reports (questionnaires, multiple choice) and generates a personalized wellness score. Uses off-the-shelf LLMs to transform subjective symptom data into structured, actionable insights.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages