Initial commit: LLM Automation Docs & Remediation Engine v2.0

Features:
- Automated datacenter documentation generation
- MCP integration for device connectivity
- Auto-remediation engine with safety checks
- Multi-factor reliability scoring (0-100%)
- Human feedback learning loop
- Pattern recognition and continuous improvement
- Agentic chat support with AI
- API for ticket resolution
- Frontend React with Material-UI
- CI/CD pipelines (GitLab + Gitea)
- Docker & Kubernetes deployment
- Complete documentation and guides

v2.0 Highlights:
- Auto-remediation with write operations (disabled by default)
- Reliability calculator with 4-factor scoring
- Human feedback system for continuous learning
- Pattern-based progressive automation
- Approval workflow for critical actions
- Full audit trail and rollback capability
This commit is contained in:
LLM Automation System
2025-10-17 23:47:28 +00:00
commit 1ba5ce851d
89 changed files with 20468 additions and 0 deletions

50
docs/api/endpoints.md Normal file
View File

@@ -0,0 +1,50 @@
# API Endpoints Reference
## Complete Endpoint List
| Method | Endpoint | Description | Auth |
|--------|----------|-------------|------|
| GET | `/api/v1/sections` | List all sections | No |
| GET | `/api/v1/sections/{id}` | Get section content | No |
| GET | `/api/v1/summary` | Get sections summary | No |
| GET | `/api/v1/search` | Search documentation | No |
| GET | `/api/v1/stats` | Get statistics | No |
| GET | `/api/v1/llm-optimized/{id}` | Get LLM-optimized content | No |
| GET | `/health` | Health check | No |
| GET | `/mcp/methods` | List MCP methods | Yes |
| GET | `/mcp/connections` | List connections | Yes |
| POST | `/mcp/execute/ssh` | Execute SSH command | Yes |
| POST | `/mcp/execute/snmp/get` | SNMP GET query | Yes |
| POST | `/mcp/execute/api` | API request | Yes |
## Response Formats
All API responses follow this structure:
### Success Response
```json
{
"success": true,
"data": { ... },
"timestamp": "2025-01-20T10:30:00Z"
}
```
### Error Response
```json
{
"success": false,
"error": "Error message",
"code": "ERROR_CODE",
"timestamp": "2025-01-20T10:30:00Z"
}
```
## HTTP Status Codes
- `200` - Success
- `400` - Bad Request
- `401` - Unauthorized
- `404` - Not Found
- `429` - Too Many Requests
- `500` - Internal Server Error