LLMs + Manufacturing Knowledge Bases: Beyond the Chatbot
Every plant has a treasure trove of operating knowledge, SOPs, deviation logs, incident reports, maintenance manuals, P&IDs, MSDS sheets, audit observations. None of it is accessible when the operator needs it at 2 AM. LLMs change that, if deployed correctly.
The Reference Stack
- Document ingestion: SOPs, manuals, deviation logs, structured data exports.
- Chunking with section aware splitters.
- Embeddings stored in a self hosted vector database (pgvector or Qdrant).
- Retrieval + re ranking before LLM call.
- LLM call to Claude / Gemini / GPT (depending on use case) via private endpoint.
- Citation: every answer carries the source document and section.
Evaluation Discipline
Without evaluation, LLM knowledge bases drift. The discipline:
- Build a 200 question evaluation set with subject matter expert approved answers.
- Re run the eval before every change, chunking, embedding model, LLM.
- Track answer accuracy, hallucination rate, citation accuracy and latency.
- Block any change that regresses on any metric without explicit override.
Operating Patterns That Work
- Maintenance Q&A, "How do I replace the seal on Pump P 204?" returns the exact procedure with citations.
- Deviation triage, "What past deviations look like this one?" returns nearest neighbours with outcomes.
- Compliance Q&A, conversational interface to the Form 12 / 15 / 25 obligations.
- Onboarding, new engineers ramp 2 to 3x faster with a knowledge base copilot (target).
Frequently asked
Do I send my plant data to OpenAI?
No. Either deploy a private LLM stack on Azure / AWS Bedrock, or use a vendor with a no training contractual clause and on premise embedding store.
Amey Kadle
Founder & CEO, Ajinkya Technologies. Founded the company in 2015 and has led its MES, ERP and AI work for India’s most demanding manufacturing plants since the move to software in 2020.