Welcome to the Appian Predictive Operations repository!
This project is a Full-Stack Intelligent Operations Dashboard built to optimize workforce allocation using Generative AI (Groq / Llama-3) and Predictive Analytics.
Operations teams often face:
- SLA breaches
- Inefficient staff allocation
- Poor workload visibility
- Manual and delayed decision-making
Appian Predictive Operations AI addresses these challenges by combining:
- AI-driven workload forecasting
- Intelligent staff optimization
- Conversational AI for real-time insights
All within a single, interactive dashboard.
A context-aware AI assistant acting as an Operations Expert.
- Answers queries related to SLAs, staffing, and workload
- Powered by Groq Llama-3
- Embedded directly into the dashboard UI
- AI Confidence Intervals (Upper & Lower bounds)
- Time Range Toggle (24-Hour / 7-Day forecasts)
- Staffing Heatmap to highlight high-stress periods
- Persistent Database
- Uses
staff_db.json - Retains employee data across server restarts
- Uses
- Real-Time AI Audit
- Detects staffing imbalances automatically
- One-Click Optimization
- Instantly apply AI-recommended staff reallocations
- Simulation Engine
- What-if analysis for volume spikes and staff reductions
- Configurable SLA Thresholds
- Audit Log Export
- Download system logs as CSV
- React
- Vite
- Tailwind CSS
- Recharts
- Python
- FastAPI
- Pandas
- Pydantic
- Groq API
- Llama-3
- Predictive modeling with confidence intervals
Ensure the following are installed on your system:
-
Node.js (v16 or higher)
https://nodejs.org/ -
Python (v3.9 or higher)
https://www.python.org/
git clone https://github.com/HemangDubey/appian-predictive-project.git
cd appian-predictive-project
Open a terminal in the root folder:
- Navigate to backend:
cd backend
- Install Dependencies:
pip install fastapi uvicorn pandas openai pydantic
- Configure API Key:
- Open
backend/main.py. - Locate the
clientsetup (approx Line 26). - Replace
gsk_...with your valid Groq API Key. - (Free keys available at console.groq.com).
- Start Server:
uvicorn main:app --reload
*Terminal should show: Uvicorn running on http://127.0.0.1:8000*
Open a NEW terminal (keep the backend running) and run:
- Navigate to frontend:
cd frontend
- Install Dependencies:
npm install
- Start Application:
npm run dev
- Launch:
- Click the Local Link displayed (usually
http://localhost:5173).
appian-predictive-project/
│
├── backend/ # Python FastAPI Server
│ ├── main.py # Core Logic, API Endpoints & AI Integration
│ ├── staff_db.json # Persistent Database (Auto-generated on run)
│ └── appian_historical_data.csv # Dataset for analysis
│
├── frontend/ # React Application
│ ├── src/
│ │ ├── App.jsx # Main Dashboard & Logic
│ │ ├── ChatAssistant.jsx # Honey AI Chatbot Component
│ │ └── index.css # Tailwind CSS Styling
│ └── package.json
│
└── README.md # Project Documentation
-
**Error:
pip is not recognized** -
Ensure Python is added to your system PATH variables.
-
Error:
Connection Refusedon Frontend -
Verify that the Backend Terminal is running and shows "Uvicorn running".
-
Error:
401 Unauthorizedin Chatbot -
Check
backend/main.pyand ensure your API Key is correct and inside quotes" ".
This project was designed, developed, and maintained by:
-
Hemang Dubey
🔗 LinkedIn: https://www.linkedin.com/in/hemang-dubey-7b801628b/ -
Akshat Agrawal
🔗 LinkedIn: https://www.linkedin.com/in/akshat-agrawal-3b0b13255/ -
Megha Gautam
🔗 LinkedIn: https://www.linkedin.com/in/megha-gautam-8533b2292/ -
Jayesh Pani
🔗 LinkedIn: https://www.linkedin.com/in/jayesh-pani-a9ab7628a/
Contributions, suggestions, and improvements are always welcome.
Feel free to fork the repository, raise issues, or submit pull requests.