PONOPT FIELD NOTES · Данные, GIS и AI

Can an LLM Answer Residents? Knowledge Bases, Fact-Checking and Human Handoffs

An LLM can answer residents' routine questions if grounded in a curated knowledge base, fact-checked with citations, and given clean human handoffs.

Yes, for routine, well-scoped questions — provided the model is grounded in a curated, current knowledge base of official documents, every answer is fact-checked against sources with citations, and uncertain, sensitive, or legally binding matters transfer cleanly to a human agent. Public deployments answer roughly 85–99% of such informational queries accurately. The LLM is a front end to knowledge, not the source of truth. Legal determinations, personal-data handling and judgment calls stay with qualified staff.

Key takeaways

  • The source of truth is the curated knowledge base of official documents, not the model's training data: "curation quality beats corpus size."
  • Retrieval-augmented generation lowers hallucinations, cost and data-exposure risk versus fine-tuning or letting a general model answer from memory.
  • Make every answer verifiable: citations to current sources, a confidence threshold that blocks unsupported claims, and expert review of responses.
  • Escalation to a human is an architectural and contractual requirement: a visible next step, a case ID and a documented response-time promise.
  • Human staff own legal rulings, personal-data processing and judgment calls; the bot resolves high-volume informational requests.
  • Proven programs split traffic: bots field routine questions while live analysts take complex, property-specific or sensitive cases.
  • Success is measured by accuracy plus escalation rate, repeat contacts, speed and call deflection, not by the model alone.

The short answer: yes, within a tightly defined scope

Experience from major public deployments suggests the real question is not "can an LLM answer residents" but "under what conditions can it be trusted to." GOV.UK Chat, tested by more than 10,000 users asking 26,000 questions about tax, benefits and visas, raised accuracy from 76% to 90% by answering strictly from published GOV.UK content and deliberately refusing anything out of scope. London's Barking and Dagenham borough runs roughly 4,450 chatbot conversations a month with a 93% positive-feedback rate while measurably cutting general enquiries and calls.

The pattern is consistent: an LLM handles routine facts about services, fees, documents and addresses well, but it is not the authority and cannot issue legally binding rulings. The boundary between "can answer" and "must hand over" is set in advance, not improvised mid-conversation. When that boundary is missing, trust collapses across the entire digital service — industry analyses repeatedly identify the missing escalation path as the top reason municipal bots disappoint after promising pilots.

Start by listing the question types residents actually raise and split them into two buckets: those where a grounded direct answer is safe, and those where transfer to an operator or the responsible department is mandatory.

  • Direct-answer examples: opening hours, required documents, fees, status of a standard service, parking rules.
  • Mandatory-transfer examples: appeals, complaints, personal situations tied to a specific property, signs of an emergency.
  • Never answer from outside the knowledge base; an honest "transferring you to an advisor" beats a confident error.

Start with the knowledge base, not the model

Romania's PrimAssist pilot in Măgurele distilled the central lesson into four words: "curation quality beats corpus size." The assistant answered exclusively from the municipality's own official documents, attached a source reference to every reply, stored no conversations and ran entirely inside municipal infrastructure to stay GDPR-compliant. Its authors stress that performance depends far more on well-organised, current and accessible documentation than on choosing a larger model.

A widely cited cautionary tale is New York's MyCity Chatbot for residents' legal questions: over three years it was repeatedly criticised for recommendations that contradicted the law, and after a change of administration the project, which had cost more than $600,000, was shut down. When a model leans on general internet knowledge instead of a verified local base, it can confidently invent a jurisdiction, a deadline or a date — and a resident discovers the error when checking with the real administration.

So the first step is not buying a model but auditing your knowledge: gather in-force regulations, procedures, forms and logged operator answers, tag the last-review date, and name an owner for every document. Until the base is in order, even the most powerful model will reproduce stale or contradictory information.

  • Assign an owner and a review date to every knowledge section.
  • Keep internal instructions, outdated revisions and personal data out of the public answer base.
  • Before selecting a platform, check how easily your documents can be ingested and updated.

Fact-checking: why RAG, not fine-tuning

To stop answers drifting from current rules, use retrieval-augmented generation: the system first retrieves fragments of documents relevant to the question, then drafts an answer only from those fragments. Researchers note that RAG reduces hallucinations and factual contradictions and is far cheaper than fine-tuning, which can produce smoother but less reliable wording. RAG also allows fully private deployment inside the administration's own environment, avoiding the need to send sensitive data to third-party platforms.

A second verification layer is mandatory citation. The Romanian pilot ran each answer through a multi-agent check before delivery. GOV.UK deliberately makes answers easy to double-check against the source and is candid that, like all AI, it can make mistakes. Automated accuracy scoring, combined with review by subject-matter experts and a measured "answer rate for in-scope questions" (88% at GOV.UK Chat), gives you an objective quality baseline.

Technical checks must be paired with process control: every new or revised document must flow into the base and past a domain-expert review before live answers change. Without version control, even an accurate answer goes stale quickly.

  • Require quotes and direct links to source documents in every answer.
  • Set a confidence threshold: below it the bot asks a clarifying question or hands off instead of asserting.
  • Keep a version log of documents and tie answers to the date of the current revision.

Designing the handoff: escalation as an architectural requirement

Municipal bots usually fail not at the model layer but at the escalation layer. When the bot reaches its limit, the resident must see a clear next step: a live agent, a ticket, a call-back promise or an alternative online service. Practitioners define three components of a sound escalation: an obvious handoff signal to the user, a concrete destination inside the administration, and documented transfer data with a case ID the resident can quote on any follow-up.

Prince William County, Virginia, built exactly this "front door" model: the Will chatbot handled roughly 40,000 interactions in its first year (often tax and real-estate questions), the after-hours voice agent Willow took 8,885 calls, yet live analysts still resolved more than 40% of interactions, typically complex, property-specific matters. Riverside, California, reports its Rivy chat agent matches a resident's request to the right city resource 98.7% of the time, with the remaining volume smoothly transferred to a live human during business hours.

Operationally, bake escalation into the request for proposals and the contract as a measurable requirement: a documented route per question type, a quantified confidence threshold and a handoff procedure with a case ID. Run an escalation audit every six months — how many transfers landed, how many were closed, how many bounced back. If you cannot collect those numbers, you do not control the bot.

  • Pass conversation context and attempted actions to the human so residents never repeat themselves.
  • Make escalation the default for sensitive topics: complaints, appeals, personal data and emergency indicators.
  • Record the promised response time and the case ID to reduce repeat calls.

Metrics, monitoring and the limits of automation

Track more than accuracy: measure the share of questions the bot answers confidently within scope, the escalation rate, first-response speed and repeat contacts. Barking and Dagenham also monitors reduced general enquiries and calls, while Riverside tracks AI adoption among callers and 89.9% first-contact resolution for its voice agent. These behavioural numbers tell you whether the service genuinely relieves staff or merely shifts load.

Safety and data protection form a separate risk area. Public bots attract deliberate attempts to break their guardrails: GOV.UK Chat logged 508 jailbreak attempts across two pilots, all blocked, but the risk is ongoing and must be managed. Residents also probe beyond intended use — Riverside saw users trying to get Rivy to do homework — which is why a firm scope boundary and honest guardrails matter.

Finally, define what must never be automated: legally binding rulings, decisions on the merits of an appeal, and processing personal data without proper authentication. Here the LLM's role is to draft and gather context while a specialist holds the pen. This division of labour both reduces liability and builds trust, because residents know a person will reach them in a genuine difficulty.

  • Revisit confidence thresholds and knowledge content quarterly using escalation data.
  • Keep an incident log of out-of-scope and adversarial queries.
  • Retain a live operator during business hours as a non-negotiable condition of service accessibility.

Pre-launch checklist for a resident-answer LLM service

Use this checklist before launch or during an audit of an existing service. Each item is a verifiable condition; if several fail, delay or narrow the scope rather than going live with an unsafe assistant.

  1. A catalogue of real resident question types is compiled, and the services where a direct answer is permitted are defined.
  2. The knowledge base is built from in-force official documents, each section has an owner and a review date.
  3. Internal instructions, outdated revisions and any personal data are excluded from the public base.
  4. Every answer carries a citation and link to the source, and the system can verify claims against documents.
  5. A quantitative confidence threshold is set: below it the bot clarifies or hands off instead of asserting.
  6. Escalation routes are defined for every question type, with a case ID and a promised response time.
  7. Handoff to a human includes conversation context so the resident does not repeat themselves.
  8. Sensitive topics (complaints, appeals, personal data, emergency signs) transfer to a person by default.
  9. Monitoring is configured: accuracy, escalation rate, repeat contacts, response speed and security incidents.
  10. A live operator is available during business hours, and the user is shown a clear "AI can make mistakes" warning.

Questions people ask

Why do municipal chatbots most often fail in real operation?

The cause is rarely the model and usually the missing escalation path. Residents ask questions the training material never covered, using dialects, fragments and everyday terms instead of bureaucratic language. When the bot reaches its limit and cannot hand off cleanly to a person, a ticket or a call-back, conversations stall and trust in the whole digital service collapses. A sound escalation needs three parts: a visible handoff cue for the user, a concrete destination inside the administration, and documented transfer data with a case ID the resident can quote.

Should we fine-tune a model or use RAG for resident answers?

For municipal information questions, retrieval-augmented generation is usually the better choice. RAG retrieves relevant fragments of current official documents and drafts answers only from them, which reduces hallucinations and lets you show citations. It is also far cheaper than fine-tuning and supports private deployment without sending data to third-party platforms. Fine-tuning can produce more fluent language but research has found it prone to more factual errors; it suits narrow internal tasks rather than public-facing advice.

How do we stop the model inventing local rules, deadlines and dates?

Constrain the source of knowledge: the model must answer only from a verified base of official documents, not general internet knowledge. Attach a citation and link to the current revision with every answer, and set a confidence threshold so that when no support is found, the bot asks a clarifying question or hands off rather than asserting. Assign document owners and review dates to keep answers current, and route responses past subject-matter experts before they go live.

When must the bot transfer a conversation to a human?

By default in complaints, appeals, anything involving personal data, signs of an emergency, and any question outside the scope of the knowledge base. Also hand over when the resident explicitly asks for a person, when system confidence falls below the configured threshold, or when the issue needs individual judgement tied to a specific property or case. Riverside transfers the volume its assistant cannot resolve first-contact to live agents during business hours.

Is an LLM answer a legally binding administrative response?

No. An LLM response is an informational briefing, not a legally binding administrative ruling or official interpretation. The administration and its staff remain responsible for legal positions, decisions on the merits of an appeal and correct handling of personal data. For sensitive and legally significant topics, the model's role is to gather context and prepare a draft while a qualified person issues the official answer. Codify this division in both the interface and internal procedures.

Which metrics prove the service is actually good?

The essentials are answer accuracy (rated by experts and automated tools, e.g. 90% for GOV.UK Chat), the share of questions answered confidently within scope (88% there), successful escalation rate, repeat contacts, first-response speed and user satisfaction. Add channel relief: reduced calls and general enquiries. Riverside tracks AI adoption among callers and 89.9% first-contact resolution for voice, while Barking and Dagenham reports a 93% positive-feedback rate on chatbot sessions.

Sources and further reading

Sources were checked when this page was generated. Confirm changing dates, rules and prices with the original publisher.

  1. 5 things we learned testing GOV.UK Chat: an AI assistant for governmentGovernment Digital Service (GOV.UK)
  2. Barking and Dagenham AI Search and Webchat - ToolsUK Government AI (ai.gov.uk)
  3. Prince William County 311 Marks One Year of Service, Expands Access and CapabilitiesPrince William County Government
  4. AI Bright Spot: Assisting residents with an AI chatbot in Riverside, CaliforniaPartnership for Public Service, AI Center for Government
  5. Can Municipal AI Be Trusted? Lessons from an Agile Pilot in RomaniaInterreg Danube Region Programme (PilotInnCities)
  6. От чат-ботов до мультиагентных системВедомости. Город
  7. 从人工窗口到智能问答:大语言模型与RAG技术重塑政务服务HKU Business School