https://github.com/moses000/mysoftware-nocnetintel
AI-powered NOC assistant for forecasting network outages, analyzing root causes, and recommending proactive resolutions using LLM and time-series intelligence.
https://github.com/moses000/mysoftware-nocnetintel
ai data-pipeline deep-learning docker forecasting llm mlops network-operations nlp noc postgresql predictive-maintenance pytorch root-cause-analysis telecom time-series unsupervised-learning
Last synced: 5 months ago
JSON representation
AI-powered NOC assistant for forecasting network outages, analyzing root causes, and recommending proactive resolutions using LLM and time-series intelligence.
- Host: GitHub
- URL: https://github.com/moses000/mysoftware-nocnetintel
- Owner: moses000
- License: gpl-3.0
- Created: 2025-05-08T07:32:06.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-08T07:55:57.000Z (5 months ago)
- Last Synced: 2025-05-12T08:06:55.145Z (5 months ago)
- Topics: ai, data-pipeline, deep-learning, docker, forecasting, llm, mlops, network-operations, nlp, noc, postgresql, predictive-maintenance, pytorch, root-cause-analysis, telecom, time-series, unsupervised-learning
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ง Noc-netIntel โ AI-Powered Network Operations Intelligence Assistant
**Noc-netIntel** is an intelligent chat-driven platform designed to forecast critical network outages, provide possible root cause explanations, suggest proactive FME (Field Maintenance Engineer) deployment, and recommend resolutions โ all powered by advanced AI, NLP, and time-series forecasting.
## ๐ก What It Does
- ๐ฎ **Predicts outages** today, tomorrow, and over the week
- ๐ **Identifies root causes** using LSTM + LLM reasoning
- ๐ **Schedules field engineers** proactively
- ๐ง **Suggests resolutions** from a growing knowledge base
- ๐ฌ **Conversational interface** with LLM (DeepSeek/OpenAI-compatible)## ๐ Technology Stack
| Layer | Tech |
|------------------------|-------------------------------------|
| **AI/NLP** | DeepSeek / Custom LLM |
| **ML/Forecasting** | PyTorch + Custom LSTM |
| **Backend** | Python (FastAPI preferred) |
| **Frontend** | JavaScript (React recommended) |
| **Database** | PostgreSQL |
| **Data Pipeline** | Python Scripts / Celery Tasks |
| **Deployment** | Docker & Docker Compose |
| **Scheduler (optional)**| Celery + Redis for task management |## ๐งฌ End-to-End Workflow
### 1. ๐ Data Collection
- Sources: Sensor logs, BTS data, voltage/current levels, historical tickets, alarms
- Stored in PostgreSQL (structured) and optional object storage (raw logs)### 2. ๐งน Data Preprocessing
- Cleansing missing/nulls, noise filtering
- Timestamp alignment, interpolation
- Scaling, encoding categorical signals (battery status, alarm type)### 3. ๐ง Feature Engineering
- Temporal signals: time of day, day of week, holiday
- Environmental: power metrics, weather (optional)
- Historical: frequency of past outages, lag features
- Rolling stats: moving average, rate of failure### 4. ๐ ML Forecasting (PyTorch + LSTM)
- Input: Sequence of multivariate time series
- Architecture: Multi-head LSTM โ Dense heads (classification + regression)
- Outputs:
- Outage probability
- Affected region/site
- Possible root cause embeddings
- Metrics: F1, AUC for classification; RMSE for regression### 5. ๐ง NLP Reasoning Layer (DeepSeek / LLM)
- Converts ML output into readable advice
- Enhances with historical patterns and predefined rules
- Formats chat response: outage + root cause + FME plan + resolution### 6. ๐ Proactive FME Scheduler
- Ranks urgency and location clustering
- Optimizes FME routing using heuristic or ML-based dispatch
- Integrates with external calendars/ticketing if needed## ๐ฌ Sample Chat Interaction
**User**: "What outages are expected tomorrow in the North East zone?"
**Noc-netIntel**:๐ Predicted 3 possible outages:
* Site BGH-29 (Power drain) โ 87% chance
* Site TMT-02 (Overload) โ 72% chance
* Site JAK-10 (Backhaul degradation) โ 55% chance๐ Root Causes: Battery degradation, high load demand, backhaul link instability
๐ Recommended Actions: Pre-deploy backup power units, initiate remote checks
๐ท FME Suggestion: Team Alpha, report at 06:30 AM## ๐ API Overview
- `POST /chat` โ Accepts user prompt, returns AI-generated insight
- `GET /forecast` โ Returns raw model prediction
- `GET /schedule` โ Lists recommended FME deployments
- `GET /logs` โ Access recent outage logs (if allowed)> Full Swagger UI at: `http://localhost:8000/docs`
## ๐ Sample PostgreSQL Schema
CREATE TABLE outage_forecasts (
id SERIAL PRIMARY KEY,
site_code TEXT,
prediction_date TIMESTAMP,
outage_probability FLOAT,
root_cause TEXT,
fme_plan TEXT,
resolution TEXT
);## ๐ณ Setup and Deployment
### โ Prerequisites
* Docker & Docker Compose
* Python 3.9+
* Node.js (for frontend)### ๐ฆ Running Locally
bash
git clone https://github.com/moses000/mysoftware-nocNetIntel
cd noc-netintel# Run with Docker Compose
docker-compose up --build> Services:
>
> * `backend`: FastAPI ML/NLP engine
> * `frontend`: React chat UI (optional)
> * `ml_worker`: PyTorch + model runner
> * `postgres`: SQL data store## ๐ Auth & Roles
* JWT-based auth
* Roles: Admin, Analyst, Engineer
* Granular data access policies## ๐ Monitoring & Logging
* Optional: Add Grafana for real-time alert visualization
* Backend logs all predictions and user queries
* Alerts for model drift / threshold breaches## โ๏ธ Wiki & Docs
* ๐ `docs/data-pipeline.md`: Ingestion, ETL, transformations
* ๐ `docs/model.md`: LSTM architecture, training notes
* ๐ \`docs