Reported impact
Business outcome
Provides users with faster responses and signposting to relevant services and guidance, while helping FCDO focus on users who need the most help. Users can escalate to a human-reviewed written enquiry.
- Customer Experience
- Productivity Improvement
Solution
Users enter a written question in the FCDO triage web app; Azure Cognitive Services redacts personal information before any prompt is sent to Azure OpenAI. Azure OpenAI GPT 3.5 breaks the text into up to three component questions. For each, an embeddings similarity search shortlists up to three approved templates; Azure OpenAI GPT 4 then uses the questions, shortlisted templates, identifiers and RAG selection guidance to choose template IDs, while GPT 3.5 selects topic IDs. The web app resolves those IDs to pre-approved guidance and topics rather than displaying generated prose, and users can still submit a case for human review. Consular staff maintain templates through a restricted management tool. Separately, redacted audit records, form submissions, page views and feedback are held in an RDS (PostgreSQL) database, exported as CSV to encrypted AWS S3 and processed in a data pipeline for accuracy analysis. Historical enquiries remain in the Microsoft Dynamics-based response service.
Data flow
A user question is redacted by Azure Cognitive Services, then GPT 3.5 decomposes it; embeddings similarity search retrieves up to three templates per question, GPT 4 selects template IDs, and GPT 3.5 selects topic IDs for the web app to display as approved content. Separately, redacted search results, form submissions, page views and feedback flow to RDS (PostgreSQL), are exported as CSV to encrypted AWS S3, and enter a data pipeline for accuracy analysis.