EdgeMind is an intelligent industrial maintenance platform that combines Retrieval-Augmented Generation (RAG), Large Language Models (Llama 3), and UiPath Enterprise Automation to help maintenance engineers diagnose industrial equipment failures, identify root causes, recommend corrective actions, and automatically generate maintenance reports.
Unlike traditional chatbots, EdgeMind retrieves relevant historical incidents from an internal knowledge base before generating responses — making recommendations more accurate, explainable, and enterprise-ready.
- 🔍 Semantic search across historical maintenance incidents
- 🧠 Retrieval-Augmented Generation (RAG) pipeline
- 🤖 AI-powered maintenance recommendations using Llama 3 (Ollama)
- 📚 FAISS Vector Database for similarity search
- 🏭 Root Cause Analysis (RCA)
⚠️ Incident severity classification- 📄 Automatic maintenance report generation
- 📑 Incident logging and history tracking
- 🤖 UiPath enterprise workflow integration
- 🚨 High-priority incident escalation
- 🌐 Interactive Streamlit dashboard
┌──────────────────────┐
│ Streamlit UI │
└──────────┬───────────┘
│
User Query
│
▼
┌────────────────────┐
│ FAISS Vector Store │
└─────────┬──────────┘
│
Similar Incident Retrieval
│
▼
┌────────────────────────┐
│ Llama 3 (via Ollama) │
└─────────┬──────────────┘
│
AI Recommendation
│
▼
Structured Incident Analysis
│
▼
Incident Logging (CSV)
│
▼
UiPath Enterprise Workflow
│
┌───────────────┴────────────────┐
▼ ▼
Maintenance Report Escalation Log
| Technology | Purpose |
|---|---|
| Python | Backend |
| Streamlit | Web Application |
| LangChain | RAG Pipeline |
| FAISS | Vector Database |
| HuggingFace Embeddings | Semantic Search |
| Ollama | Local LLM Runtime |
| Llama 3 | AI Recommendation Engine |
| Pandas | Data Processing |
| UiPath | Enterprise Automation |
| CSV | Incident Logging |
EdgeMind/
│
├── app.py
├── requirements.txt
├── data/
│ └── manuals/
│ └── incidents/
│
├── rag/
│ ├── documents.py
│ ├── chunk_documents.py
│ ├── create_embeddings.py
│ └── build_vectorstore.py
│
├── vectorstore/
├── reports/
├── logs/
└── README.md
| Step | Description |
|---|---|
| 1️⃣ | User submits a maintenance-related query (e.g. "Why is the conveyor motor vibrating?") |
| 2️⃣ | FAISS performs semantic similarity search across historical incidents |
| 3️⃣ | Relevant incidents are retrieved from the knowledge base |
| 4️⃣ | Llama 3 generates Root Cause, Recommendation & Suggested Resolution |
| 5️⃣ | Incident details are automatically logged to CSV |
| 6️⃣ | UiPath generates Maintenance Report, Escalation Log & High Priority Alerts |
Hydraulic Press
- Why is the hydraulic press losing pressure?
- Why is the hydraulic press leaking oil?
Conveyor System
- Why is the conveyor motor vibrating?
- Why did the conveyor suddenly stop?
Industrial Pump
- Why is the pump overheating?
- Why is the discharge pressure low?
CNC Machine
- Why is the spindle overheating?
- Why is the spindle producing abnormal vibrations?
Industrial Incident Files
│
▼
Document Loader
│
▼
Text Chunking
│
▼
Sentence Transformer Embeddings
│
▼
FAISS Vector Store
│
▼
Similarity Search
│
▼
Relevant Context → Llama 3 → AI Recommendation
EdgeMind integrates with UiPath to automate post-analysis maintenance operations:
- Reads the latest analyzed incident
- Generates maintenance reports
- Creates escalation logs
- Detects high-priority incidents
- Produces enterprise-ready documentation
# Clone the repository
git clone https://github.com/teajas14/EdgeMind.git
cd EdgeMind
# Create and activate virtual environment
python -m venv venv
venv\Scripts\activate # Windows
# source venv/bin/activate # macOS/Linux
# Install dependencies
pip install -r requirements.txt# Start Ollama
ollama serve
# Pull Llama 3
ollama run llama3
# Launch the app
streamlit run app.py- Live IoT sensor integration
- Predictive maintenance using time-series forecasting
- Voice-enabled maintenance assistant
- Multi-user authentication
- SAP & Power BI integration
- Cloud deployment
- Email and Teams notifications
- OCR support for maintenance manuals
Teajas S B.E Computer Science & Engineering | St. Joseph's Institute of Technology
⭐ If you found this project interesting, consider giving it a star!