Healthcare Chatbot & Disease Prediction System
A professional-grade medical consultation system consisting of a Core API Gateway and a Machine Learning Inference Service.
ποΈ System Architecture
- Core API (
core-api/): Built with FastAPI. Manages users, chat history, and coordinates with the ML service. (Port 8000) - ML Service (
ml-service/): Transformer-based NLP and ML models (XGBoost, MLP) for symptom extraction and disease prediction. (Port 8081)
π Quick Start (Windows)
The simplest way to start the entire system is using the master batch file:
- Run Everything: Double-click
start_all.batat the root.- This will automatically create virtual environments, install dependencies, and launch both services in separate windows.
π οΈ Individual Setup
Each component can also be managed independently:
Core API Gateway
- Folder:
core-api/ - Port: 8000
- Startup:
run_backend.bat - Swagger: http://localhost:8000/swagger
ML Inference Service
- Folder:
ml-service/ - Port: 8081
- Startup:
run_api.bat - Swagger: http://localhost:8081/swagger
π§ͺ Testing
- Core API Tests: Run
core-api/run_tests.bat - ML Service Tests: Run
ml-service/run_testing.bat
β οΈ Disclaimer
This system is for informational and educational purposes only. It is NOT medical advice. Always consult a qualified healthcare professional.