6 min read · AI for business · AI technology and models

A technician asks the AI assistant how many hours between grease intervals for this lathe. The system finds text in the manual to answer, but the manual for the same model may have a revision B and a revision C that say different things. If the system pulls from both and mixes them, the answer can sound confident and still not apply to the technician's machine.
This article covers organising manuals with several revisions so that retrieval and answering match the revision to the asker's machine. RAG (retrieval-augmented generation) means the system searches the documents first, then the AI writes the answer from the text it found. The examples are hypothetical.
Why multiple manual revisions are a problem for RAG
The search system splits the manual into small pieces (chunks) and retrieves the pieces closest to the question. If an old and a new revision cover the same topic, both pieces are about equally close to the question. The system may pick either one, or both.
An AI given two conflicting pieces usually tries to merge them into one answer. The result can be a number from one revision attached to a procedure from another, which is worse than answering straight from one revision, because it reads fine and gives no sign that it is wrong.
Tag every chunk
The most direct approach is to store metadata with every chunk and use it to filter before or during retrieval, rather than leaving the AI to guess from the text.
| Tag | Example value | What it is for |
|---|---|---|
| Machine model | Model X-200 | Filter down to the manuals for the machine being asked about |
| Revision | B or C | Pick the revision that matches that machine |
| Effective date | 2025-09-01 | Decide between machines built before or after the revision change date |
| Status | Active / Retired | Retired revisions are not searched unless the user chooses to view them |
| Source location in the file | File name, page, section | Lets the asker open the original and check |
Most of this information is already on the cover page or the revision history page of the manual. Have the document owner enter it once at import time, rather than asking the AI to guess.
Filter by the asker's machine
The system cannot know which machine the technician is talking about. If nobody says, the better approach is to have the asker select or scan the machine before asking, for example by choosing from the machine register or reading the model and serial number from the nameplate, and then converting that into a filter condition.
- The asker selects a machine. The system looks up the register to see which model it is and which manual revision applies.
- The system searches only the chunks whose model and revision tags match.
- If nothing is found, the system says it was not found in the manual revision that applies to this machine, and does not go back and answer from another revision.
- If it is not known which revision the machine uses, the system asks back, or shows answers separated by revision so the difference is clear.
Show the source and revision in the answer
Every answer should say which model's manual, which revision and which page it cites, with a link that opens that page. The technician can then check in a few seconds whether the revision matches the machine, and if the system picked wrongly it is visible right away, without waiting for a machine to be damaged.
If an answer draws on several chunks, give the source for each sentence, and set a rule that text from different revisions must not be combined in one sentence.
Retire old revisions systematically
- When a new revision is issued, the document owner sets the old revision's status to Retired on the same day the new one takes effect.
- Do not delete old revisions. Older machines still in service need them. Make them searchable only when a matching machine is selected.
- When a new manual is imported, have the system compare file name and model, and warn if another revision of the same model is still Active.
- Keep a record of who changed the status and when, so you can look back when someone asks why the system answered the way it did.
For preparing documents before importing them into the system, see the article on preparing company documents for AI and the one on the revision cycle of documents on the web.
Check that the filter really works
| What to check | How to check | How often | Who does it |
|---|---|---|---|
| The answer cites the revision that matches the machine | Choose a set of questions whose answers are known to differ between revisions, and see whether the right revision is returned | Every time a manual is added or changed | Document owner and a senior technician |
| No answer mixes two revisions | Read the answer against the sources shown and check the text comes from one revision | Monthly sampling | System administrator |
| Retired revisions are not searched | Ask about a topic that differs, with a machine on the new revision selected, and see that no chunk from the old revision appears | After setting the status | Document owner |
| The link opens the right page | Click the link from a sample answer | Every time a file changes | System administrator |
Common mistakes
- Putting the revision only in the file name and not storing it as a separate tag, so filtering is impossible.
- Having the AI read the text and guess which revision it is.
- Cutting chunks across pages or sections, so one chunk holds text from two sections and carries the wrong tags.
- Deleting old revisions so technicians with older machines can no longer ask about them.
- No one owns the status of documents, so a new revision goes in while the old one is still Active.
A hypothetical example: one lathe model, two revisions
A hypothetical factory has two groups of X-200 lathes. The first group, built before 1 September 2025, uses manual revision B, and the later group uses revision C. Revision B says to grease every 500 hours and revision C says every 250 hours. Both figures are hypothetical, for illustration only.
The team tested with 20 questions whose answers differ between the two revisions. Before tagging and filtering, 6 answers cited a revision that did not match the machine, which is 30% (6 divided by 20). After tagging model, revision and date, and having the technician select the machine before asking, 1 remained, which is 5% (1 divided by 20). The team looked at the remaining case and found that the machine's register entry had no manufacture date, so the system could not choose a revision. They added a rule that the register must have a manufacture date before a machine is entered in the system.
The takeaway is that filtering solves the problem when the machine register data is correct. If the register is wrong, filtering will confidently send you to the wrong revision just the same.
Limits and cautions
The figures in the example, including the grease interval, the revision change date and the test results of 6 and 1 questions, are hypothetical and not results from a real project. A set of 20 questions is too small to conclude anything about a real system. Build the test set from your own factory's manuals. Filtering reduces the chance of answering from the wrong revision but does not make the AI correct every time. For safety work such as lockout, pressure, or torque values on critical parts, the operator must always open the original manual and follow the plant's safety procedures. This system helps you search faster and does not replace the official manual.
Starting references
- Wikipedia — Retrieval-augmented generation
- Lewis et al. — Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (arXiv 2005.11401)
- Wikipedia — Document control
- Wikipedia — Metadata




