How id0omb/ict3113_p2-3 works
This repository implements a local complaint-ticket classification service: a client submits a narrative, the service classifies it with an Ollama-hosted model, stores the result, and returns the category. It also provides full-text search, category counts, health information, and request logging. The README frames this service as a system under test for performance and accuracy evaluation. The sampled application source shows the runtime routes and integrations; deployment and measurement details are not mapped where their implementation was not shown.
Main entry points: app.py Request logging
Components 10
Service API
- Ticket submission
app/app.py - Ticket search
app/app.py - Category statistics
app/app.py - Health endpoint
app/app.py
Classification
- Ticket classifier
app/app.py - Ollama model service
Persistence and Observability
- Ticket database
- Request logging
app/app.py
Other components
- Client
- Log file
Connections 14
- Client → Ticket submission: submits ticket
README.md - Client → Ticket search: searches tickets
app/app.py - Client → Category statistics: requests counts
app/app.py - Client → Health endpoint: checks status
app/app.py - Ticket submission → Ticket classifier: classifies narrative
app/app.py - Ticket classifier → Ollama model service: requests inference
app/app.py - Ticket submission → Ticket database: stores result
app/app.py - Ticket search → Ticket database: queries tickets
app/app.py - Category statistics → Ticket database: counts categories
app/app.py - Ticket submission → Request logging: records request
app/app.py - Ticket search → Request logging: records request
app/app.py - Category statistics → Request logging: records request
app/app.py - Health endpoint → Request logging: records request
app/app.py - Request logging → Log file: writes events
app/app.py