Recovering the product's definition of correct before adding examples
ClaronX lets people ask questions in everyday language about security products and company assets. It should return the current installation state or latest history without requiring them to understand the database behind it.
My first assignment at LSware was to add worked examples for a single product domain, OMNIGuard: pairs of user questions and the SQL the AI should produce. After the initial results were recognized, I applied the same improvement process to another product domain. The target database covered roughly 600 tables with little documentation and no ready reference for which tables and conditions formed the correct answer.
At first, it was difficult to know where correctness should come from. A query could run and still return deleted data or an old record, so I had to recover the product's answer criteria before expanding the examples.