Many factories try off-the-shelf internal AI Q&A tools by uploading product brochures, inspection SOPs, and historical spreadsheets into a vector database. Within days, new sales reps stop trusting it: expired alloy pricing surfaces as current, molding shrinkage guidelines blur across resin grades, and missing tolerance data gets filled in with plausible-sounding guesses.
In B2B manufacturing, one fabricated operating temperature range or wrong certification claim does not just look bad—it triggers rejected shipments or compliance disputes.
Why do generic RAG setups fail on the factory floor?
- Same term, different meaning across departments: Sales quotes "lead time" as ex-factory ready date, logistics interprets it with port cut-off, and shop supervisors use floor nicknames for specific Ra surface finishes. Without resolving semantic conflicts first, retrieval returns half-aligned snippets.
- Active specs mixed with obsolete revisions: Vector similarity does not inherently know whether a 2022 price sheet was superseded by a 2025 material bulletin.
- High-value tacit rules never lived in Word documents: Practical shop judgment—how a die bends differently on springback batches or which plating subcontractor struggles in humid months—stays in veteran operators' heads.
Four-step engineering pipeline for a reliable factory knowledge base
While building the open-source China Manufacturing Industry Knowledge Base covering all 31 GB/T 4754-2017 manufacturing categories (714 structured files), we built anti-hallucination constraints directly into the document schema. Internal factory knowledge bases follow the same discipline:
| Phase | Concrete Action | Safeguard Built In | Practical Outcome |
|---|---|---|---|
| Step 1: Align terminology & definitions | Hold a focused 60-minute review across sales, engineering, and QC to standardize lead-time, alloy-alias, finish, and scrap definitions | Conflicting rules wait for management sign-off before entering the active corpus | New reps, engineers, and AI read the same definitions |
| Step 2: Grade source authority & effective dates | Tag records A–D (A: standards & signed internal specs; B: labs & research; C: supplier sheets; D: unverified field notes) plus mandatory revision dates | Retrieval prioritizes A/B sources and active versions; retired sheets move out of active retrieval | Stops outdated quotes and retired processes from leaking into answers |
| Step 3: Enforce "withhold unverified numbers" | Write abstention into both prompt rules and schema validation: missing or unverified metrics return explicit "unverified / engineering confirmation needed" prompts | Eliminates guessed tolerances, temperature ratings, or lead-time promises | Shifts uncertainty into clear engineer sign-off cues |
| Step 4: Low-friction capture of tacit shop knowledge | Avoid asking shop veterans to type long SOP manuals; capture 15-second voice notes plus field photos during troubleshooting, reviewed weekly in a 5-minute sign-off | Only technician-approved fixes become standing knowledge entries | Preserves hard-won process experience inside factory systems |
Ownership and confidentiality guarantees
A factory's costing rules, material yields, and customer preferences are core commercial assets. Deployed internal knowledge bases run on the client's own computers or controlled environment, strictly isolated per factory so one client's data never enters another client's workspace, with complete file ownership retained by the factory upon handover.

