How rahulthumma-8/enterprise-ai-operations-assistant works
This is an Azure-backed enterprise IT operations assistant. A user submits a question through the FastAPI endpoint; the supervisor classifies it, and the API dispatches it to knowledge retrieval, troubleshooting, or document analysis before returning an answer. The repository also documents human review for high-impact troubleshooting, short-term conversation memory, and logging. The API’s human-review branch reports a pending review; the interactive CLI workflow in supervisor.py performs the review and can continue, reject, or request guidance. Edges reflect shown calls or README-documented integrations; setup scripts are omitted.
Main entry points: main.py FastAPI API · supervisor.py Supervisor routing · knowledge_agent.py Knowledge agent · document_agent.py Document agent
Components 12
Request handling
- FastAPI API
main.py - Supervisor routing
supervisor.py
Specialist agents
- Knowledge agent
knowledge_agent.py - Troubleshooting agent
troubleshooting_agent.py - Document agent
document_agent.py
Azure services
- AI Search
- Document Intelligence
- Azure OpenAI
Controls and state
- Human review
human_escalation.py - Conversation memory
memory.py - Application logging
logger.py
Other components
- User
Connections 17
- User → FastAPI API: submits request
README.md - FastAPI API → Supervisor routing: routes question
main.py - FastAPI API → Knowledge agent: dispatches question
main.py - FastAPI API → Troubleshooting agent: dispatches question
main.py - FastAPI API → Document agent: dispatches file query
main.py - Supervisor routing → Azure OpenAI: classifies intent
supervisor.py - Knowledge agent → AI Search: searches knowledge
knowledge_agent.py - Knowledge agent → Azure OpenAI: generates grounded answer
knowledge_agent.py - Troubleshooting agent → Azure OpenAI: generates guidance
troubleshooting_agent.py - Document agent → Document Intelligence: extracts document text
document_agent.py - Document agent → Azure OpenAI: answers from extracted text
document_agent.py - Supervisor routing → Human review: requests review
supervisor.py - Supervisor routing → Troubleshooting agent: continues after review
supervisor.py - Supervisor routing → Conversation memory: records routing history
supervisor.py - FastAPI API → Conversation memory: stores answer
main.py - Supervisor routing → Application logging: logs routing
supervisor.py - FastAPI API → Application logging: logs request status
main.py