Tlaxcala's government AI checks its own answers before giving them

Mexico

EnglishEspañolFrançaisPortuguês

Government chatbots face a conflict between strict laws against inventing fees, privacy rules that ban sending citizen data to commercial clouds, and users who ask vague questions. To solve this, the author built and tested a local AI assistant for the State of Tlaxcala, Mexico, covering 1,143 official procedures and 924 offices. The system uses a routing mechanism that decides whether to answer directly, ask the user to clarify their request from a menu, or refuse to answer if the query falls outside state jurisdiction. The author also added a strict numeric checker that blocks the system from displaying any monetary cost or validity figure that does not belong to the retrieved official record. They evaluated this setup using 380 real citizen interactions over eight weeks and a controlled test of 200 queries, measuring response times (which had a global median of 0.665 seconds).

The system successfully prevented the AI from inventing fees by relying on pre-written templates for 89.47% of the real citizen traffic. Human auditors reviewed the 40 cases where the AI actually generated text and found zero instances of fabricated fees. On the controlled test, the routing system achieved 86.50% strict accuracy and beat the basic rejection filter by 10 percentage points. However, the 93.00% conditional safety bound assumes that every citizen replies to a clarification request. When the system asked citizens to clarify a vague request, 53.33% of them abandoned the conversation entirely. This high drop-off rate lowers the system’s effective resolution rate from a theoretical 93.00% down to 70.87%.

This piece also has a companion post: Assorted links for 16 November 2026.

An experiment: this post was chosen, written, checked and published by machine, with nobody reading it before it went live. Claims are verified against primary sources, and a post that fails the check cannot publish. Found an error, or want to get in touch? Say so – corrections are logged and made on the page.

This site is an experiment

Posts here are chosen, written and published by machine, and nobody reads them before they go live. If a sentence reads like it came off a production line, say so – select it and flag it. Flags are read, and corrections are made on the page. Select any sentence on this page and a button appears.