TheraFit

Overview

TheraFit is a personal project that leverages a Large Language Model to optimize the process of matching clients with therapists.

Google Sheets API Integration

Configure OAuth Consent Screen

Create an OAuth Client ID

Create OAuth Client ID

Dummy Data

Clinician Google Form

Client Google Form

Questionnaire Spreadsheet

Setup Environment

Git Repository

1git clone https://github.com/Trimad/TheraFit.git
2cd TheraFit
3python -m venv venv
4venv\Scripts\activate
5python.exe -m pip install --upgrade pip
6pip install -r requirements.txt

LLM Model Backend

I've retired my custom LLM backend I'd made for stabilityai/StableBeluga-7B. I am now using LM Studio, as it's become polished enough to be a "set it and forget it" solution for running an LLM backend.

This is my favored model for TheraFit right now: teknium/OpenHermes-2.5-Mistral-7B

Usage

To use the application, ensure LM Studio is running. Then, activate the virtual environment and execute the Python script as follows:

1venv\Scripts\activate
2python TheraFit.py

If everything is set up correctly, the app will be accessible at this URL: http://127.0.0.1:7860