Insights /

Turning user feedback into CI gates

Thumbs up and down are data. Joined to the answers they rate, they can fail a build.

Most AI products collect ratings. Few teams read them, because each rating sits apart from the question and answer it was given on. Once the two are joined, feedback becomes something a pipeline can act on.

Join each rating to its answer

Store a trace id with every answer and every rating. A reporter can then pull a period’s ratings, attach the exact question, answer and reasons, and write a file a product owner can sort. Our open-source tool Jeves does this for Langfuse.

Mask before you share

Ratings come with conversations, and conversations contain names, emails and numbers. Mask them by default, before any report leaves the system.

Write rules, not dashboards

A dashboard waits for someone to look. A rule, such as “the complaint rate for billing questions stays under 5% over seven days”, can run in CI and return an exit code. Fail the build when a rule breaks, and the next change cannot ship until someone looks.

Feed the evaluation set

Low-rated answers are the best source of new evaluation cases. Each one a domain expert labels makes the next regression easier to catch before users see it.

Tell us what you want AI to do

Bring a use case, a worry or a codebase. We come back with a short written view of what we would do and what it would take.