AI output validation and testing for developers
Short answer: in production, every AI response is checked before it is used: format, math and the rules of the request. With LIA Engine that happens in the middle of your AI call, without switching providers, and every response comes back with its certificate.
Why validating the JSON is not enough
A schema guarantees the response has the right fields. It does not guarantee the values are true. A "total": 93500 passes any type check even when the right total is 102850. Testing AI output means checking both: shape and content.
What to test in LLM output
- Format: fields, types and order.
- Math: sums, taxes and totals recalculated.
- Source data: every value appears in the input document or order.
- Rules: the conditions your business defined.
- Traceability: a record of what was checked in each response.
How LIA Engine fits in
If your system already calls an AI from code, LIA sits in the middle: same way of calling, your same AI and your same key. Change one address and you are done.
It works the same with JavaScript, curl or any OpenAI-compatible library.
What about AI-generated code?
LIA checks answers that can be compared against data and rules: math, formats, data taken from documents. AI-generated code validation still needs automated tests and code review. LIA does not replace them.
Certificates anyone can check
Every response that passes the rules comes with a certificate signed with Ed25519. It is checked with a public verifier under the MIT license, no account needed. If anyone changes a single number, the signature stops being valid.
Get your key and try it with your AI. 50 free verifications, no card. Your console has the code ready with your keys.
Start free