AutoHR is an intelligent HR assistant that reads incoming Gmail messages and automatically creates structured HR tickets. It uses the IBM Granite 3.2 8B Instruct model locally via Ollama to understand message content and generate relevant ticket information. Built with a Node.js + Express backend and a React frontend, AutoHR streamlines employee issue reporting without manual triage.
- 🔁 Gmail Inbox Integration
- 🧠 AI-Powered Ticket Summarization using IBM Granite 3.2 8B (via Ollama)
- 📄 Ticket Management Dashboard
- 🗃️ MongoDB Database for Ticket Storage
- ✉️ Auto-scan Gmail messages and trigger AI parsing
Before setting up the app, ensure you have the following installed:
- Node.js (v18 or later)
- MongoDB (local or cloud)
- Ollama (for running the Granite model)
- A Google Cloud Project with Gmail API enabled
git clone https://github.com/your-username/autohr.git
cd autohrcd server
npm init -y
npm installcd client
npm installMONGO_URI=your_mongodb_connection_string CLIENT_ID=your_google_client_id CLIENT_SECRET=your_google_client_secret REDIRECT_URI=your_redirect_uri REFRESH_TOKEN=your_google_refresh_token