AI-Powered Health Insurance Claim Evaluation
ClaimTrackr is an LLM-powered RAG system for evaluating health insurance claims against policy documents, exclusions, and supporting records. It combines semantic retrieval, FastAPI, Pinecone, and Docker to deliver a reproducible, deployment-ready workflow.
ClaimTrackr automates claim evaluation by retrieving relevant policy context and using an LLM to generate a verdict with supporting reasoning.
| Component | Technology |
|---|---|
| Language | Python 3.11 |
| Backend | FastAPI, Uvicorn |
| Frontend | React, Vite, Tailwind CSS |
| Package Manager | uv |
| Vector Database | Pinecone |
| Embeddings | SentenceTransformers |
| Containerization | Docker, Docker Compose |
- Ingest policy documents and claim-related files.
- Embed document text using
sentence-transformers/all-mpnet-base-v2. - Store and retrieve context from Pinecone.
- Evaluate the claim with an LLM.
- Return a verdict, summary, and rejection reasons if applicable.
ClaimTrackr/
├── main.py
├── src/
├── frontend/
├── documents/
├── bills/
├── pyproject.toml
├── uv.lock
├── Dockerfile
├── docker-compose.yml
├── .env.example
└── .dockerignore
Use this if you just want to start the app quickly.
git clone https://github.com/yourusername/claimtrackr.git
cd claimtrackr
cp .env.example .env
docker compose up -dOpen:
http://localhost:8000
Use this if you want to edit the code and test changes.
uv sync
cd frontend
npm install
npm run devThen run the backend in another terminal:
python main.pydocker compose up -d --builddocker compose downClaimTrackr uses a multi-stage Dockerfile so dependencies are installed in a builder stage and only the final runtime files are copied into the production image.
- Smaller runtime image
- Faster deployment
- Cleaner production container
- Reduced image content size from 919MB to 455MB in this setup
Shivam Modi
Software Developer
