← Back to portfolio

AI engineering case study

ServiceDesk Knowledge

An IT support workspace that answers employee questions from approved guidance and turns unresolved issues into editable support tickets.

Python · FastAPI · SQLite · Optional PostgreSQL / pgvector and OpenAI

13 / 13

Expected citation or correct deferral with local vector retrieval

11 / 13

Expected citation or correct deferral with the keyword baseline

4 passed

API tests covering cited answers, deferral, role access, and ticket retries

The problem

Employees need to know which support guidance applies to their issue. IT teams need a clear handoff when an answer is missing, with restricted procedures kept within the right role.

Three example outcomes

VPN connection timeout

Confirm internet access, restart the VPN client, and retry on a different network. If the timeout persists, escalate with the error code.

VPN connection troubleshooting · Connection timeout
Restricted recovery guide

An employee receives no restricted excerpt. The API filters retrieval candidates by role before choosing a citation.

Issue without matching guidance

The workspace suggests IT review and opens a draft. The employee can edit the title, description, and queue before submitting. Retrying the same submission returns the same ticket ID.

What changed after testing

Keyword matching on article headings confused VPN sign-in prompts with connection timeouts. Searching full sections with local vectors brought the relevant troubleshooting text into the comparison. The app returns the original excerpt and its citation so readers can see exactly what supports the answer.

The synthetic evaluation measures local retrieval and deferral. A real rollout would need identity-provider integration, per-user ticket ownership, and evaluation on a larger labeled set. The optional hosted model and database paths were outside this evaluation.

Inspect the benchmark results ↗