SmartGP
Empowering clinicians with AI-powered tools to reduce admin burden and enhance patient care
Personal Motivation & Background
Why I Built SmartGP
My journey to building SmartGP is rooted in personal experience. I spent months struggling to get a diagnosis for haemochromatosis and was misdiagnosed along the way. Navigating the healthcare system as a patient, I saw firsthand how short appointment times and administrative pressures can impact care.
My partner's experiences as a GP also highlighted the reality of 10-15 minute GP appointments, where there's barely enough time to focus on the patient, let alone all the admin tasks. These challenges inspired me to use my background in data science, bioinformatics, and software engineering to build a tool that could genuinely help both clinicians and patients.
Inspired by real-world challenges in primary care
Project Overview
GPs don't have enough time for patients.
93% of GPs believe their workload negatively affects care quality.
42% are considering leaving the profession.
SmartGP is an AI-powered assistant designed to:
- Automate medical note-taking
- Generate guideline-compliant referrals
- Provide real-time clinical insights
- Reduce administrative burden
SmartGP streamlines the clinical workflow by automating transcription, summarization, information retrieval, and referral generation
Technical Implementation
Architecture and Approach
All components are hosted locally for privacy and control.
Speech-to-Text
Uses Whisper for accurate, local transcription of consultations.
Speaker Diarization
Separates patient and GP voices for clear summaries.
Medical Notes
Uses a vector Retrieval-Augmented Generation (RAG) database to inform the language model and help generate high-quality medical notes.
Referral Letters
Referral generation uses a RAG-based system to read official guidelines on writing effective referral letters.
In the future, users will be able to upload their own referral letters to personalize and mimic their preferred style.
Question Function
This feature was the most technically challenging. It uses a large language model to read the patient summary and doctor's question, then generates Google search queries to find relevant information before presenting it to the GP as an alternative to manual searching.

SmartGP Home Page
Features
Whisper-based speech-to-text
Speaker separation for clarity

Automatic, patient summary
Referral letters generated using official guidelines
Future: Personalized letter styles

One-click, guideline-based referrals
LLM reads the patient summary and doctor's question, then formulates Google search queries to find relevant information for the GP

Instant answers, powered by search
Tech Stack
Everything is hosted locally:
Speech-to-Text
Whisper
Speaker Diarization
Hugging Face models
Vector Database
LangChain
LLM
Llama-3
Backend
FastAPI
Frontend
Next.js, Tailwind CSS, DaisyUI
Deployment
Docker Compose
Future Enhancements
Add user-uploaded referral letter templates for personalized style
Multi-modal input (text + voice)
Predictive analytics dashboard