How michaell027/employee_review works
Main Components
A. API Layer
• FastAPI Application (main.py)
• Route Controllers (routers/)
• Questions Router
• Review Router
• Users Router
B. Service Layer
• Question Service
• Review Service
• Llama Integration Service
• Llama Client
• Llama Handler
• Llama Config
C. Data Layer
• Models
• Employee
• Evaluation
• Generated Questions
• Llama Response
• Review
• CRUD Operations
• Employee Role CRUD
D. External Services
• Ollama (LLM Service)
• [Client Applications]
• ↓
• [API Layer (FastAPI)]
• ↓
• [Service Layer]
• ↓
• [Data Layer]
• ↓
• [External Services]
Component Relationships
• API routes → Services
• Services → Models
• Services → Llama Integration
• Llama Integration → Ollama Service
Specific Elements
• FastAPI Application
• /questions
• /review
• /users
• Services
• QuestionService
• ReviewService
• LlamaIntegration
• Client
• Handler
• Config
• Models
• Employee
• Evaluation
• GeneratedQuestions
• LlamaResponse
• Review
Technical Details to Highlight
• ASGI Server (Uvicorn) handling
• Docker containerization
• Poetry dependency management
• Async operations
• Error handling flow