When a customer reports a wrong AI answer, how do you find what data it saw?
Really enjoying the thread about what you’d lose if you switched AI agents tomorrow. It got me thinking about a smaller, related question.
Here is a made-up example. A support lead says the AI assistant gave a customer the wrong refund rule last Tuesday. By the time anyone looks, the policy document has changed twice and someone has edited the prompt.
As far as I can tell, the hard part is that the answer gets saved but the data and settings behind it do not. So the team can’t tell whether the old document, the prompt, or the model caused the mistake.
I’m the PM, not an engineer, so sorry if this is basic. One thing I’m thinking of trying is saving the document version and the prompt version next to every answer. I’m not sure that is enough, or if it gets too heavy.
When a wrong answer is reported days later, what do you keep so you can see the exact data it used?
Do you replay the case with today’s data, or only with what existed at the time?
p/phanera
p/runevr
p/meridian-16
p/kanasensei
p/transcendence
p/google-cloud-platform
p/producthunt
p/kodlo
p/dearcameo
p/dearinside
p/deardarling
p/many-displays
p/portlivo
p/reso
p/neoagent
p/zush
p/beamfy
p/expert-chase-deleted-1107920
p/gatrends
p/netclicker
Replies
Not basic at all, it is the question. What I keep, in a small consumer app: on each generated song we store both what the user typed and what was actually sent to the model, when the two differ, for example a rewritten description or lyrics adjusted after a refusal, plus which engine produced the result. A refusal is logged with the exact inputs. For support, the AI draft is built from a facts file that lives in the code repo, so its git history answers "what did it say last Tuesday" without any extra storage, and every ticket saves a snapshot of the account's state at the moment it was sent. Your idea of saving the document and prompt version next to each answer is light if the version is just a commit hash or a timestamp, not a copy. For the replay I'd use what existed at the time first, to find the cause, and today's data second, to check it's fixed.