Aabha AI Academy All articles

Articles

Practical explanations with worked examples and questions to try.

4 articles matching “Validation”.

Valid JSON can still be the wrong answer

Three checks for an AI-produced workshop record: readable JSON, the agreed structure, and agreement with the original note.

Give an AI Assistant Clear Tool Boundaries

Start with an assistant that can prepare a useful draft and stop. A small fictional workshop example shows how to separate model suggestions, application checks, and human approval before adding tools that change the world.

Test an API Before You Trust It

A small automated test can catch a broken response before a user does. Build a tiny FastAPI service, then check its happy path, rejected inputs, and boundary values with repeatable tests.

Before you build an API, write the request contract

Decide what a request must contain, what the server owns and what should happen when the input is unsuitable.