How lucas34174/predicare works
PrediCare TPA is a scaffold for health-insurance fraud detection, contract-question answering with RAG, and decision support. The only demonstrated runtime workflow is a caller reaching the FastAPI health endpoint and receiving its status response. The README documents ML, RAG, PostgreSQL/pgvector, and n8n capabilities, but their implementation is not present in the supplied tree; they are shown as documented subsystems without speculative connections. The web interface is also only a placeholder.
Main entry points: main.py Health endpoint
Components 9
API
- Health endpoint
src/predicare/api/main.py
Fraud detection
- Fraud pipeline
src/predicare/ml
Contract assistant
- RAG assistant
src/predicare/rag - Contract indexing
src/predicare/rag
Data and orchestration
- Database access
src/predicare/db - Core services
src/predicare/core - BI workflows
infra/n8n - Web interface
web
Other components
- API caller
Connections 2
- API caller → Health endpoint: requests health
README.md - Health endpoint → API caller: returns status
src/predicare/api/main.py