By Sakshi Shah · 27 November 2026 · 10 min read
Preparing Your Data for AI: What You Actually Need Before a Model Is Useful
Data preparation for AI: the three kinds of data a project needs, the quality problems that cause most failures, labelling, and a readiness checklist.
Introduction
When AI projects stall, the model is rarely the reason. The model is the same one that performed brilliantly in the demo. What changed is the data: the knowledge base turned out to contain three contradictory versions of the same policy, the "historical labels" the classifier was trained on were applied inconsistently for years, half the scanned documents came out as gibberish, and nobody could agree what the correct answer to a test question actually was.
Data preparation is the least glamorous part of an AI project and usually the largest. It is also the part that most determines whether the system will be trusted. This guide explains the three kinds of data an AI project needs, the quality problems that cause most failures, how to prepare documents for AI that answers from them, how to create labels people agree on, how to handle personal data, and a checklist for knowing when your data is ready.
The Three Kinds of Data an AI Project Needs
"We have lots of data" is often true and rarely the point. Different kinds of data play different roles, and a project can have plenty of one and none of another.
| Kind of data | What it is | Needed for | How much |
|---|---|---|---|
| Working data | The documents, records or messages the AI reads or acts on | Every project | Whatever the task covers — but current and clean |
| Evaluation data | Realistic examples with agreed correct answers | Every project, to know whether it works | Typically fifty to a few hundred well-chosen cases to start |
| Training data | Labelled examples used to train or fine-tune a model | Only some projects: custom classifiers, fine-tuning | Hundreds to thousands, depending on the task |
Many modern projects — assistants that answer from your documents, extraction from forms, summarisation — need no training data at all, because they use capable general models with your data supplied at the moment of use. That is one of the main advantages of retrieval over fine-tuning, discussed in When Should a Business Use RAG Instead of Fine-Tuning? But every project needs working data in good shape, and every project needs evaluation data. Without the second, you cannot tell whether the system is right.
Data Problems That Cause Most Failures
| Problem | Example | What it does to an AI system |
|---|---|---|
| Duplicates and old versions | Three versions of the returns policy in the shared drive | Contradictory or outdated answers |
| Inconsistent formats | Dates, units and product codes recorded differently across systems | Wrong comparisons, failed matching |
| Missing fields | Customer region blank on a third of records | Skewed results, unanswerable questions |
| Inconsistent historical labels | Ticket categories chosen differently by each agent for years | A model that learns the inconsistency |
| Unrepresentative samples | Examples mostly from one region, product or language | Good performance on the common case, poor everywhere else |
| Poor text extraction | Tables flattened into nonsense; scans unreadable | The right answer exists but is never found |
| Personal data in the wrong places | Customer phone numbers in free-text notes used for testing | Privacy risk; data spreading further than intended |
None of these are new. They exist in reporting and operations already; AI simply exposes them faster and more visibly. Fixing them improves everything that uses the data, not just the AI project.
Preparing Documents for AI That Answers From Them
For assistants and search tools that answer from your content, the quality of the answers is capped by the quality of the documents.
- Inventory and ownership. List every source the AI should use, and give each one an owner responsible for keeping it current. Content without an owner goes stale.
- One current version. Retire or archive superseded documents rather than leaving them alongside the current ones. An AI system cannot know which of two contradictory policies is correct unless you tell it.
- Clean extraction. Check by eye how tables, scanned pages and complex layouts come out after text extraction. A pricing table flattened into a single line of numbers is useless, however good the model.
- Metadata and permissions. Record each document's owner, date, product, audience and who is allowed to see it. Dates let the system prefer current content; permissions stop it from showing confidential documents to the wrong people.
- A refresh process. Decide how new and changed documents reach the index, and how removed ones leave it.
Creating Labels People Agree On
Whether you are building an evaluation set or training data, labels — the "correct answers" — are only useful if they are consistent. The quickest way to discover a problem is to have two knowledgeable people label the same sample independently and compare.
If people disagree, the model cannot do better. When two experienced staff give different answers to the same example, the problem is the definition, not the AI. Fix the guideline first; the model's ceiling is the consistency of the people who define "correct".
A practical labelling process looks like this. Write a short guideline that defines each label with examples and, above all, the awkward edge cases. Have two people label the same sample of fifty to a hundred examples. Discuss every disagreement, update the guideline, and repeat until agreement is high. Only then label at volume, spot-checking as you go. Make sure the examples cover the real variety — every product, region, language and document type that matters, including the rare but important cases.
Be especially wary of historical labels already in your systems, such as ticket categories or reason codes. They were usually chosen in a hurry by many different people over many years. Check a sample against your guideline before using them to train anything; they are often far less consistent than they look.
Evaluation data is also how you keep a system honest after launch. Every change — new documents, new prompts, a new model version — should be re-tested against it, as described in How to Build a Production-Ready AI System, Not Just an AI Prototype. For multilingual systems, build separate evaluation sets per language, as covered in Multilingual AI for Indian Businesses.
Handling Personal Data
Preparing data for AI often means copying it — into test sets, labelling tools and indexes — and every copy is another place personal data can leak. Use only the personal data the task genuinely needs. Remove or mask names, phone numbers, identifiers and account details in evaluation and training sets wherever the task does not depend on them. Keep labelling work inside controlled environments, record which datasets contain personal data and why, and set retention periods. The specific obligations for Indian businesses are covered in DPDP Compliance for AI Applications.
Finally, version your datasets. Knowing exactly which version of the documents and which version of the evaluation set produced a given result is what lets you explain behaviour, reproduce problems and show progress.
A Data Readiness Checklist
Sources and owners
Every data source listed, with an owner, and outdated or duplicate content retired.
Quality checked
Formats consistent, key fields filled, extraction checked by eye on real samples.
Evaluation set agreed
Realistic examples with answers two people agree on, covering the full variety of cases.
Privacy and versions
Personal data minimised, permissions recorded, datasets versioned and refreshed on a schedule.
If you are unsure where your data stands, a short review before any build is usually money well spent: our Systems Readiness Review exists for exactly that.
Conclusion
Successful AI projects are mostly data projects. Know which of the three kinds of data you need — working, evaluation and training — and recognise that most modern projects need the first two but not the third. Tackle duplicates, outdated versions, inconsistent formats, poor extraction and unreliable historical labels before blaming the model. Prepare documents with owners, current versions, clean extraction and permissions. Create labels through clear guidelines and measured agreement. Minimise personal data, version everything, and use your evaluation set every time something changes.
AI project stuck because the data isn't ready?
We will assess what your data needs, clean and structure it, and build an evaluation set your team agrees on. See Data Preparation & Labeling or start the conversation.
Frequently Asked Questions
How much data do we need to start an AI project?
It depends on the kind of project. An assistant that answers from your documents needs those documents in good shape, plus an evaluation set of typically fifty to a few hundred examples. Training a custom model needs labelled examples, usually hundreds to thousands.
Can we use our existing ticket categories or reason codes as labels?
Only after checking them. Historical labels are often applied inconsistently by many people over many years. Compare a sample against a clear guideline before using them to train or evaluate anything.
What is an evaluation set?
A collection of realistic inputs with agreed correct answers, used to measure whether an AI system works and to re-check it every time something changes. Every AI project needs one.
Should we clean all our data before starting?
No. Clean the data the first use case actually needs, guided by where the evaluation set shows problems. Trying to clean everything first delays value without guaranteeing the right data was fixed.
How do we protect personal data during preparation?
Use only what the task needs, mask or remove personal details in test and training sets where possible, keep labelling in controlled environments, record which datasets contain personal data, and set retention periods.