BLACKSIG SYSTEMS/Resources/How to Train AI on Our Own Documents

// Resources

How Do We Train AI on Our Own Company Documents?

For the business whose answers live in SOPs, contracts, past quotes and email threads, and whose team keeps asking the same questions. The difference between training and retrieval, which documents go in first, who gets to ask what, and how to test it before anyone relies on it.

Last updated · 2026-10-13

The short version

In almost every business case you do not train anything. You give a model the ability to look your documents up at the moment somebody asks, which the industry calls retrieval, and the model reads the relevant passage and answers from it. That is cheaper than training, it updates the second you change a document, and it can show its source. Actual training, where you adjust the model itself, is called fine-tuning, and the research says it is the wrong tool for facts: a study by Oded Ovadia and colleagues published at EMNLP 2024 found retrieval consistently outperforming unsupervised fine-tuning for injecting knowledge, including knowledge the model had never seen. Fine-tuning changes how a model writes. Retrieval changes what it knows. The projects that disappoint are the ones that picked the first when they needed the second. Two things decide whether it works once it is running: whether each document in the index has an owner who keeps it current, and whether the system answers only from what the person asking was already allowed to read.

How do we train AI on our own company documents?

You train AI on your own company documents by connecting them rather than training on them. The working version, in order: collect the documents that hold the answers, put them somewhere a system can read, index them so a question can find the right passages, and have the model answer using those passages with a link back to the source.

The reason this is the right shape is that your documents change. A price list updated this morning, a policy revised last week, a contract signed yesterday. A trained model holds a frozen impression of whatever it saw during training, and the only way to update it is to train again. A retrieval system reads the current document every time it answers, so updating the answer means updating the file, which somebody was going to do anyway.

The second reason is auditability. When a system answers from a retrieved passage it can name the document and the section. When a model answers from training it can only produce text, and a plausible-sounding answer with no source is the exact failure mode you do not want inside a business.

The practical shape of the first build is smaller than people expect. One question type, one body of documents, one group of users. "What does our warranty cover for a unit installed before 2023" against the warranty documents, for the service desk. Not "a chatbot that knows everything about our company", which has no owner, no test and no way to be wrong in a way anybody notices.

The value is real where the searching is real. A Harris Poll survey of 1,043 US knowledge workers, run for the workplace search vendor Glean in 2022, found employees spending at least two hours a day, about 25% of the working week, looking for the documents, information or people they needed. It is a vendor's survey and it is four years old, so check it against your own team before assuming it applies, but the shape of the problem is the one this kind of system goes after.

What is the difference between retrieval, a custom GPT and fine-tuning?

The difference between retrieval, a custom GPT and fine-tuning is three mechanisms sold under one verb, and picking the wrong one is the most expensive mistake in this category.

Retrieval, often written as RAG, leaves the model alone and gives it a search tool over your documents. At question time the system finds the relevant passages and puts them in front of the model, which answers from them. Updates are instant because the model reads the live document.

A custom GPT, or any equivalent "upload your files" feature in a commercial assistant, is retrieval with the plumbing hidden and a cap on how much it can hold. It is the fastest way to find out whether the idea works at all, and plenty of small cases never need to graduate past it. Its limits are capacity, permissions and the fact that the knowledge lives inside somebody's account rather than in your systems.

Fine-tuning adjusts the model's weights using examples. It is good at form: a house tone of voice, a consistent output format, a classification task with thousands of labelled examples. It is poor at facts, and the research is direct about it. Ovadia and colleagues, in work published at EMNLP 2024, compared unsupervised fine-tuning against retrieval on knowledge-intensive tasks and found retrieval consistently ahead, both on knowledge the models had seen in training and on knowledge they had not.

ApproachWhat it is good forUpdatesShows its sourceSensible first use
Retrieval over your documentsAnswering questions from current materialInstant, when the document changesYesAlmost every business knowledge case
Custom GPT or file upload in an assistantTesting the idea on a small document setManual re-uploadPartlyA pilot before anything is built
Fine-tuningTone, format, narrow classificationRetrainingNoOnly after retrieval works and a style problem remains
Longer prompts with pasted contextOne-off questionsEvery time, by handYes, you pasted itIndividual work, not a system

The honest summary is that most businesses need retrieval, some also want a format fixed later with fine-tuning, and almost nobody needs fine-tuning first.

How accurate is an AI that answers from our own documents?

An AI answering from your own documents is more accurate than one answering from memory, and not accurate enough to go unchecked on anything that matters. Grounding an answer in a retrieved document reduces invention. It does not remove it.

The clearest evidence comes from the hardest setting. Researchers at Stanford RegLab and Stanford HAI tested the major commercial legal research products, which are retrieval-grounded and built by companies with deep document sets, against more than 200 legal queries. Their paper, Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools, was published in the Journal of Empirical Legal Studies in 2025 and found those tools hallucinating between 17% and 33% of the time. They still beat general models, which is the point: retrieval helps a great deal and is not a guarantee.

Two failure modes matter inside a business. The first is misgrounding, where the answer is right in general and the citation does not support it, so a spot check that only reads the answer passes something it should not. The second is confident silence, where the right document was not retrieved and the model answers from general knowledge without saying so. The second is more dangerous, because nothing in the output looks unusual.

Changing models raises accuracy less than three unglamorous things do. Cleaning the source documents comes first, because two versions of a policy in the same folder produce a coin flip. Narrowing the scope comes next, since a system that only answers warranty questions can actually be tested. Then instruct it to say when it does not know, and test that it does.

What to require of any build: every answer carries a link to the passage it came from, the system refuses rather than guesses when retrieval comes back weak, and somebody reads a sample every week. The general pattern for catching this class of error is in what happens when AI gets it wrong.

Which documents are worth putting in first?

The documents worth putting in first are the ones that answer questions people actually ask, which is a much shorter list than the drive.

Start by writing down the twenty questions your team asks most. Not hypothetical questions, actual ones, from the last month of messages to whoever gets interrupted most. Then find which documents answer them. That is your first corpus, and in most businesses it is somewhere between thirty and two hundred files.

Good candidates share three traits. They are current, there is one authoritative version, and they are text rather than pictures of text. Standard operating procedures, policies, product and warranty documentation, pricing rules, supplier terms, past proposals and the technical specifications that get asked about are the usual winners.

Poor candidates are worth naming, because they are the ones people want to include. Email archives, which contain every superseded answer anybody ever gave. Shared drives with eleven versions of the same document. Scanned paper, which needs text recognition first and sets a ceiling on everything after it. Anything where the real answer depends on context the document does not contain.

One rule saves most of the trouble: a document in the system is a document somebody owns. If nobody is responsible for keeping it current, it will be wrong inside a year and the system will keep quoting it with confidence. Assessing that honestly before building is covered in is our data good enough for AI.

Where this lands well is any business whose expertise is written down and repeatedly asked for. For professional and advisory firms the adjacent capabilities sit on the consulting and advisory firms board, and for manufacturers, where the documents are specifications, drawings and customer-specific tolerances, on the manufacturing board.

Who should be allowed to ask it what?

Everyone who could already read the document should be allowed to ask, and nobody else. Permissions are the thing that goes wrong first, and it goes wrong quietly, because an over-permissive system looks like a well-performing one until the day somebody asks it what the directors are paid.

The rule to build to is that the system inherits the permissions of the person asking. If a service technician could not open the folder, the system must not answer from a document in it. Systems that index everything under one service account and answer everybody identically are the common shortcut, and they turn every document in the index into a company-wide publication.

A few categories deserve a decision before indexing rather than after: HR and payroll files, anything about an identifiable customer or patient, and commercial material about third parties, which includes your suppliers' pricing and your clients' contracts. Each of these has its own rule somewhere, and the regulated cases are stricter still: the healthcare line is covered on the dental and medical practices board.

Then there is the question of where the text goes when a question is asked. This is the part owners ask about last and should ask about first, and it has a clean answer: know which provider processes the text, whether it is retained, and whether it trains anything. Is AI automation safe with my business data covers how to get that answer from a vendor in writing.

There is also a live version of this problem whether or not you build anything. Cyberhaven's 2026 AI Adoption and Risk Report, built from billions of real data movements across 222 companies, found 39.7% of all interactions with AI tools involving sensitive data, with a third of employees reaching those tools through personal accounts. Cyberhaven sells data security software and applies its own classification, so read it as vendor research. A sanctioned internal system that answers from your documents is partly a way of giving people somewhere better to go.

What does it take to keep it current?

Keeping it current takes less than building it and more than nothing, and the businesses that are disappointed a year in are the ones who budgeted zero for this.

Four things need an owner. Documents, which change, and the system has to notice: either it re-reads on a schedule or it is told when something is updated. Retired documents, which have to leave the index, because a withdrawn policy that still answers questions is worse than no system. The question set, which drifts as the business changes, so a set of test questions should be run after each significant document change. And the model, which gets replaced by its vendor on a timetable that is not yours, so an answer quality check after a model change belongs in the routine.

The ongoing work is small and it is not zero. One person, an hour or two a month, plus someone technical when a connection breaks. The way this usually fails is not a dramatic outage: it is six months of nobody noticing that the SharePoint connection stopped syncing in March.

Where BLACKSIG builds this, the indexing, the connections, the permission mapping and the answer quality monitoring live on our infrastructure and we keep them running, so the document owners inside your business stay responsible for what the documents say and nobody has to remember to check whether a sync is alive. What maintenance covers in general, and what it should cost you in attention, is in who maintains an AI automation.

How do we test it before anyone relies on it?

Test it with a written test set, before launch, and the test set is the deliverable people most often skip.

Write fifty questions with known answers. Thirty should be ordinary, the things people ask weekly. Ten should be edge cases where the answer depends on a condition, a date or a customer type. Five should be questions the documents genuinely do not answer, to check that the system says so rather than inventing. And five should be questions the asker is not permitted to have answered, to check that permissions hold.

Score it by reading the answers, not by counting responses. An answer is correct only if the claim is right and the citation supports it, which is where the misgrounding failure shows up.

Set the bar before you see the results, and set it against the status quo rather than against perfection. If a new person currently gets the right answer by asking a colleague an hour later, the comparison is that, not an oracle. Anything the system gets wrong in testing is either a document problem or a scope problem, and both are fixable before launch in a way they are not afterwards.

Then run the same test set every quarter and after every model change. A system that passed in January and has never been checked since is not a measured system, it is a hopeful one. Teams that keep the test set find regressions in an afternoon. Teams that do not find them when a customer quotes the wrong warranty term back at them.

Frequently asked questions

How much does it cost to build an AI that answers from our own documents?

What moves the number is how many documents there are, how clean they are, whether they live in one system or seven, whether permissions have to be mirrored from an existing directory, how many people will use it, and how much accuracy checking stays in the path. A hundred clean PDFs in one shared drive is a different job from eight years of files across SharePoint, a job management system and three email accounts. BLACKSIG does not publish a rate card; scope is set on the call once the strategy work has established what is worth doing. The drivers are in how much AI automation costs.

How does retrieval actually work, step by step?

Documents are split into passages and converted into a numerical form that makes similar meanings sit close together, then stored in an index. A question is converted the same way, the closest passages are pulled back, and those passages plus the question go to the model, which answers from them. The model never memorises your documents; it reads the relevant part at the moment of the question.

Is a custom GPT good enough, or do we need something built?

A custom GPT is good enough to prove the idea and often good enough for a small team with a stable document set. It stops being enough when you need per-person permissions, when the document set is larger than the upload limit, when the files change constantly, or when answers need to reach another system rather than a chat window. Start with the cheap version, and let its limits tell you whether to build.

Can our documents be used if they are scanned PDFs, drawings or handwritten notes?

Scanned documents work after text recognition, with quality depending on the scan, and handwriting is unreliable enough that it should be transcribed rather than trusted. Drawings and diagrams need a different approach: the text on them can be extracted, but a model reading a dimensioned drawing is not a substitute for the person who reads them for a living. Test recognition accuracy on a sample before committing anything that depends on it.

Will this leak our documents into someone else's model?

Not if the arrangement says so in writing. Commercial agreements with the major providers generally exclude business data from training, and the thing to verify is which provider processes the text, what is retained, for how long and who can see it. Get it in the contract rather than from a sales page, and check it again when the provider changes.

Related resources

Find out where AI belongs in your business

We map how your business actually runs, decide where AI is worth using, then our engineering team builds what the plan calls for and we run it from there. We own the outcome, not the deliverable.