002-pipeline-first.md
Your AI project is a data project wearing a hat
The model is a dependency. The pipeline is the thing you own.
When I think about taking an AI prototype into production, I keep coming back to the work around the model. Where did the input come from? Can we rebuild the index? How will we know whether a change made the answers better?
A convincing demo can leave all of those questions open. Someone selected a useful document, cleaned it up by hand, and tried a few questions until the result looked good. That is a reasonable way to explore an idea. I get concerned when the plan for production assumes the same attention will be available for every new document.
Give the experiment something to answer
I would rather start with thirty examples the team has argued about than three hundred nobody has read. The disagreement is useful. It exposes what people mean by a correct answer, when the system should decline to answer, and which mistakes would make it unsuitable for the job.
Those examples give development a direction. A new model or a change to retrieval can be compared against the same questions. When a result gets worse, there is something specific to inspect. When it improves, the team can explain what improved and what remains unresolved.
I also want the examples to include awkward inputs. A document with an obsolete instruction is more revealing than another clean paragraph that repeats what the model already knows. The person who will use the system should have a say in which awkward cases matter.
Keep the path back to the source
The pipeline needs enough history to explain an output. That means knowing which source material and transformations produced the information the system used. If a document changes or an ingestion job fails halfway through, someone needs to be able to tell what is available and what needs rebuilding.
This is ordinary development work, and it needs space in the estimate. It is easy to spend that time comparing models because the comparison is more interesting to demonstrate.
I want model choice to be an experiment we can repeat. For that to happen, the team needs to own the inputs and the evaluation process well enough to change a dependency without losing the ability to judge the result.