A government chatbot is supposed to make dealing with bureaucracy easier. New York City's MyCity business assistant, announced in October 2023 and powered by Microsoft's Azure AI services, gave official-sounding answers that would, if followed, break the law.
In March 2024, the non-profit newsroom The Markup published reporter Colin Lecher's test of the bot against real New York City rules, co-published with Documented and The City. The answers were confidently wrong on points where an error exposes a business to legal liability.
The advice it gave
Asked whether a landlord had to accept tenants on housing vouchers, the bot said they did not, although source-of-income discrimination is illegal in New York City (with a small exception for small buildings). It said an employer could take workers' tips. It said restaurants could go cash-free, which a 2020 city law prohibits. It said a landlord could lock out a tenant, and it said there were no rules on notifying staff of schedule changes; The Markup reported both as wrong. The bot's answers also varied: it told one reporter that landlords must accept vouchers and told ten other staffers they need not.
Grounding was the missing control
The technical root cause is familiar. A general-purpose language model, asked a legal question, will produce fluent, plausible text whether or not it has the correct rule in front of it. Without tight grounding in the city's actual, current regulations, and a hard instruction to defer rather than improvise when the answer is not in that corpus, the model fills the gap with a confident guess. The interface makes that guess look like a ruling.
Air Canada's chatbot produced the same failure in a February 2024 tribunal decision; here the author is the state. A public-sector bot answering regulatory questions needs a narrower remit and stronger sourcing than a general chatbot.
Consider the asymmetry the interface creates. A search engine returns a list of sources and leaves interpretation to the reader; a chatbot returns a single, fluent, first-person answer that reads as a decision. For a small-business owner without a lawyer on retainer, that answer may be the only guidance they get, and acting on it can mean a discrimination complaint, a wage claim, or a fine. The confidence of the presentation is itself a hazard when the substance is unreliable, because it strips away the natural skepticism a page of links would invite.
The city kept the tool online after the reporting. A spokesperson for the Office of Technology and Innovation described it as a pilot that will improve. Every organization faces the same governance question: at what point do you pull an AI system that gives harmful answers?
What defenders should take away
- Ground high-stakes answers in an authoritative, current corpus. For regulatory or legal topics, retrieve from the actual rulebook and cite it; forbid the model from answering when the source is absent.
- Constrain scope to what you can stand behind. A bot that answers everything will be wrong about something that matters. Narrow it to the questions you have grounded and tested.
- Do not let the UI over-promise. The page warned that the bot may produce incorrect content, yet its answers were worded as rulings. Test that the assistant honours its own limits.
- Define a kill switch and a threshold to pull it. Decide in advance what level of demonstrated harm takes the system offline, and who owns that decision.
A public-facing model carries the risk of data theft and also of authoritative-sounding error at scale under a trusted name. Before you can govern that risk, you have to know which teams have stood up citizen- or customer-facing assistants in the first place.
Primary source. NYC's AI Chatbot Tells Businesses to Break the Law, The Markup, by Colin Lecher, 29 March 2024.