A compliance monitoring system that reads company policies uploaded by admins, detects employee violations, and predicts whether an employee is likely to violate policies in the future.
- Admin can upload and manage company policies (PDF)
- Automatically checks employee activity against policies
- Reports violations with details
- Predicts future violation likelihood per employee
- Separate dashboards for admins and employees
- Employees can raise appeals against violations
- Frontend: HTML, CSS, JavaScript
- Backend: Python, Flask
- AI: Google Generative AI (Gemini)
Currently, this project is designed for a small amount of data. To achieve scalability and efficiently handle large datasets, we need to store semantic embeddings in a vector database, which helps reduce processing time and API usage.
- Python 3.x
- The following Python packages:
flask>=3.0.0 PyPDF2>=3.0.0 google-generativeai>=0.8.0 python-dotenv>=1.0.0
-
Clone the repository
git clone https://github.com/your-username/compliscore.git cd compliscore -
Install dependencies
pip install flask PyPDF2 google-generativeai python-dotenv
-
Run the app
py app.py
-
Open your browser and go to
http://localhost:5000





