We don't ask the assistant for the right answer. We compute it.
For every question TruthTable AI computes the right answer on your database with a read-only reference query, asks your assistant the same question, and compares the table it returns. However fluent the sentence, the verdict comes from the table.
1. Connect
Point it at the assistant under test: any HTTP endpoint that returns JSON (bearer or login auth), an OpenAI-compatible chat endpoint, or a program that reads a question on stdin and prints the result table.
Add the database that holds the truth: SQL Server, PostgreSQL, MySQL or SQLite. Every query is checked to be a single read statement and runs in a read-only transaction.
2. Generate the question set
The data model is read, questions and a reference query for each are written, and the expected answer is computed by actually running the query. You can also bring your own questions as CSV, Excel or JSON.
You approve the key. A report run on an unapproved key says so plainly.
3. Run
Every question is asked over several rounds (3 by default), in Turkish and English if you like. Follow-ups are asked in the same conversation. The raw log is never overwritten.
- Correct: the table contains one of the accepted answers
- Clarified: it asked “which one did you mean?”
- Refused: no table, the assistant declined
- Wrong: an unaccepted table, unmasked personal data, a figure for an unanswerable question
- Error: the service failed or timed out; not a judgement
4. Read, fix, compare
The report opens with two numbers: confident wrong and breached. Each wrong answer sits beside the right one and the reason. Change the prompt or the model and run again; comparing two runs lists the questions fixed, broken and newly unstable.
See what your assistant gets wrong before your customer notices.
Teams and banks
Talk to us about an on-prem install, a first run on your own schema, and an acceptance report for your customer.
Request a demo info@bi-art.com.trDevelopers
Install in your working folder; the skill and MCP server are added to Claude Code.
$npx truthtableai init- Open Claude Code in that folder.
- Say
test my copilot. - Approve the set, read the report.