In a hypothetical packaging plant, a technician closes a work order with a note about intermittent belt slip under load and a later adjustment. A follow-up order on the next shift records the same symptom. Both orders have the same broad mechanical code. When the maintenance planner looks for repeat belt slip on that line, the code brings back a list they have to read by hand. A search for the adjustment brings back records that describe similar work for different reasons.
For manufacturing maintenance log text classification, start with a question the planner already asks. Which closed work orders record a symptom worth finding again? Build a small set of symptom labels and a test set from past orders before choosing a model. Use tags to find records the planner can inspect. The work order remains the source for the repair, any diagnosis, and the decision to return equipment to service.
Choose what the planner needs to find
Start with one asset family and a recurring review, such as a weekly pass through closed conveyor work orders. Ask the planner which symptom categories would change what they pull up for that review. Use a few categories that technicians can distinguish from the notes. Keep asset, line, and close date as structured filters in the computerized maintenance management system (CMMS). A person searching for slip on a specific line should be able to combine the symptom tag with the line ID.
The following label set is hypothetical. Each row describes evidence in the text for an observed symptom. Use the boundaries when labeling orders and when deciding what the classifier may suggest.
| Label | Evidence for the tag | Leave the tag off when |
|---|---|---|
| Belt slip | The belt slipped or lost traction during operation | The note only records tensioning, replacement, or a check for slip |
| Belt tracking | The belt drifted sideways or ran against an edge | The note only records an alignment check or adjustment |
| Abnormal noise or vibration | The technician reports unusual noise or vibration during operation | The note says the check was normal or specifies a check without a result |
| Unexpected stop | The conveyor stopped during operation outside a planned shutdown | The note describes stopping it for maintenance or inspection |
Allow multiple labels when the text supports them. A belt may drift and make an unusual noise in the same order. Give reviewers separate ways to record a readable order with no symptom in scope and an order whose wording is too sparse to classify. Routine service with no symptoms belongs in the first group. A completion note that only records an adjustment may belong in the second. Treat those outcomes separately when measuring how much work goes to review.
Build reference labels from closed work orders
Export orders and their original notes from the CMMS. Record which fields will be available when the tag is proposed. For closed-order tagging, the closure note is available. If the same team later wants to route newly opened orders, build a separate test from the intake text and fields available at that point. Use historical fault codes to find records for sampling. Ask reviewers to label from the available evidence, since those codes can mix symptoms, repair actions, and causes.
Have a planner and a technician independently label a shared batch. For each tag, ask for the phrase that supports it. Where they disagree, identify whether the issue is local wording or a gap in the label definition. A reference to belt movement could describe ordinary operation or sideways drift. Record the distinction and have both reviewers apply the revised rule to the disputed cases. When the note still leaves the symptom unclear, keep that ambiguity in the reference data. The reference label describes what the record supports about the symptom.
Keep a representative batch drawn from ordinary closed work and a separate set of difficult cases. Include short notes, copied templates, negated symptoms, multiple symptoms, and local abbreviations. Include notes in the languages the plant uses, and check whether a redacted copy still preserves the terms needed to assign the label. OpenAI’s evaluation guide recommends task-specific tests, coverage of typical and difficult inputs, and expert labeling. OpenAI evaluation best practices
Keep repeat incidents together when splitting the data
Split by incident wherever the CMMS provides a parent order or a link to a follow-up. Use duplicate or near-duplicate notes to flag additional records for review. A recurring inspection template can produce similar text for unrelated work, so confirm those links with asset IDs, dates, and order history. Grouping keeps an original note and a copied follow-up out of opposite sides of the split. Use the same groups to show the planner which work orders may describe one incident. Several matching orders alone give an unreliable count of how often a fault occurred.
Use earlier cases to write rules, select prompt examples, or train a classifier. Reserve a later batch, with incident groups kept intact, to compare the candidates after those choices are fixed. When a group spans the cutoff, move the whole group to the later batch or omit it from that comparison. Keep the holdout’s reference labels out of the prompt, and use a fresh holdout if the team tunes on errors from the first one. For a rollout to another line or plant, collect a separate batch from that setting. For generative AI systems, NIST recommends evaluating performance under conditions similar to deployment and documenting the limits of generalization. NIST Generative AI Profile · Turn historical operations cases into an AI regression test set
Compare how much useful work each option does
Start with a lookup for agreed terms and abbreviations. Add a rule for common negations and send conflicting matches to review. If that baseline misses too many notes with usable evidence, compare it with a supervised text classifier or a prompted model that can only choose from the approved labels. Give each candidate the same fields and score it on the same untouched cases. If a prompted model returns an evidence span, verify that it appears in the source note and check a sample for whether it actually supports the assigned label. Generative AI
Report precision and recall by label. Precision answers how many suggested tags were right. Recall answers how many reference tags the system found. Count a reference tag as missed if the classifier withheld it, including when it sent the order to review. Report review volume separately, and show how many examples support each score. Use the ordinary sample to estimate review load and the difficult set to examine failures. Combining the two would give rare cases extra weight in the workload estimate.
In the hypothetical example, a wrong belt-slip tag adds an irrelevant order to the planner’s search. A missed tag buries a relevant order. Have the planner review examples of both errors and agree which ones matter for the search, how much review the team can handle, and when to leave a category manual. For an adjacent manufacturing example where the input is an image, see how a test set can reflect conditions on the production line. Manufacturing visual inspection datasets
Put suggestions beside the original note
Run the classifier on incoming closed orders while the normal review continues. Show the suggested tag, the supporting text if available, and the original note to the planner. Keep the initial suggestion and any correction with the order ID, label definitions, and classifier version used. Sample accepted tags alongside rejected or unclassified orders. That gives the team a way to spot both wrong tags and missing ones as new shorthand, assets, or work order templates appear.
Once the tags are useful in search, add them as a separate, filterable field. Keep repairs, fault codes, and approvals in their existing fields. Where a note records only the work performed, an empty symptom tag preserves the distinction the planner needed in the first place.
Sources
- OpenAI’s guide describes task-specific evaluation, representative inputs and edge cases, expert labels, and continuous evaluation. OpenAI evaluation best practices
- NIST AI 600-1, MEASURE 2.3 and 2.5, covers deployment-like test conditions and documenting where results may fail to generalize. NIST Generative AI Profile
Request an audit of your maintenance log workflow
Bring a redacted batch of closed work orders and one question your planner struggles to answer from the notes. We can trace what the available text supports, where people need to review a tag, and what a first test would measure. The audit is free. Insonl prices implementation separately. Request a free AI workflow audit