
· 7 min read
How to evaluate a RAG system, from retrieval to grounded answers
A practical guide to measuring whether a RAG system finds the right sources and answers from them, before and after it ships.
Bring AI to batch records, laboratory results, formulation work, product stewardship and customer technical service, with process safety obligations and the separation between control systems and analytics designed in from the outset.

Energy, resources and industrials
Chemical companies are being asked to make more grades in smaller runs, document each change to a recipe or process, and answer customers' questions about composition, origin and emissions in more detail than before. The knowledge needed to respond lives in batch records, historian data, laboratory systems and safety data sheets, and in the experience of operators and chemists that is rarely written down.
AI earns its place where skilled people spend much of their time assembling evidence before making a judgment. It can review a batch record against its recipe and flag deviations, relate a quality result to the process conditions that preceded it, suggest which experiments a formulation chemist might run next, or draft a safety data sheet update for a stewardship specialist to check. It should not be the authority on process safety. Hazard reviews, management of change and operating limits remain with qualified engineers.
Valtair offers chemical producers a partner for both halves of the work: choosing the decisions worth changing across plant, laboratory and commercial teams, and engineering the data pipelines, models and review steps behind them. Analytics draw on copies of control system and laboratory data, and each recommendation names the batch, sample or document it rests on, so a process engineer or quality lead can verify it before acting.
Batch record review absorbs quality and production time, and many records close without findings. Leaders need to decide which checks an AI review may perform, what it must show before a record moves forward, and which deviations go to a qualified reviewer regardless of the model's assessment.
Past trials sit in notebooks, spreadsheets and laboratory systems with inconsistent naming. Deciding which history to clean, how results link to raw material lots and conditions, and who may query it determines whether AI can suggest useful next experiments or merely repeats old ones.
Customers ask for composition, origin, carbon and handling information at short notice. Leadership must decide which answers can be drafted from controlled stewardship data, which require a specialist's review, and how commitments made by technical service are recorded so the next answer is consistent with the last.
Historian and control system data is valuable for yield, energy and quality work, but each connection to it carries operational and security risk. Leaders decide which data leaves the plant network, through which path, at what resolution, and who approves a new connection when a site asks for more.
Compare executed batch records with the master recipe, flag missing signatures, out-of-range values and unexplained holds, and route each exception to the quality reviewer with the relevant process data.
Relate yield, energy use and off-spec events to feed quality, operating conditions and equipment state, so process engineers can choose which variables deserve a controlled plant trial.
Search past trials by ingredient, condition and outcome, and suggest candidate experiments for a chemist to accept, change or discard, with the reasoning shown for each suggestion.
Draft updates to safety data sheets and stewardship documents when composition or classification data changes, for a stewardship specialist to review, approve and publish.
Answer routine specification and handling questions from approved product data and certificates of analysis, and pass formulation advice or complaints to technical service with the customer's earlier questions included.
Summarize operator logs and shift notes into handover briefs, and let engineers search past incidents and fixes by unit, equipment and symptom rather than by date alone.
Operating limits, interlocks, hazard studies and management of change carry legal and human consequences. AI outputs are positioned as evidence for engineers to weigh, not as approvals, and the design gives models no write access to control systems. A suggestion that would alter a recipe or limit enters your existing change process with its sources attached.
Formulations, process conditions and customer specifications are often the most valuable information a chemical company holds. Where models run, which data they may retrieve and who can see their outputs are designed around that sensitivity, including private deployment where a hosted model would place recipes outside your control.
Batch records, stewardship documents and customer commitments may be examined long after they were produced, by auditors, customers or investigators. Each AI-assisted step therefore keeps its inputs, the model version and the reviewer's decision, so the organization can reconstruct why a record was accepted or a document was changed.

· 7 min read
A practical guide to measuring whether a RAG system finds the right sources and answers from them, before and after it ships.
Tell us what you want to achieve, which systems are involved, and where you need a partner.