Skip to main content
Orion Five Engineering

10 Jalan Kilang #04-05, Singapore 159410
+65 6100 5505

Book a scoping call
← All insights

Systems integration

Stop tuning prompts. Start cleaning data

Prompt tuning has a low ceiling because it cannot fix what a retrieval system is actually reading. On one project, cleaning the knowledge base moved the hallucination rate further than three weeks of prompt engineering had.

Terence Kok · 2025-12-23 · 4 min read

A cutaway industrial filter cartridge showing clean pleated white media inside, with a red sealing ring at its base.

Executive summary

3 weeks

of prompt engineering that moved the hallucination rate less than cleaning the knowledge base did, on one project

Core conclusions

  • A retrieval-augmented system is bounded by the quality of the documents it retrieves — no prompt instruction makes a stale or contradictory source say something true.
  • The failure is easy to misdiagnose as a model problem because the output is fluent and wrong, so attention goes to the generator rather than the source.
  • High retrieval recall over a poor corpus still collapses — deduplicate, date everything, and remove superseded material rather than annotating it.

A retrieval-augmented system is a reading system. Its answers are bounded by the quality of the documents it retrieves, and no instruction in the prompt can make a stale, duplicated or contradictory source say something true.

The failure is easy to misdiagnose because it presents as a model problem. The output is fluent and wrong, so attention goes to the thing generating the text rather than the thing supplying it.

Data habits that move the number

High retrieval recall does not rescue a weak corpus. If the documents themselves are low quality, accuracy falls regardless of how well the retriever performs — which is why this is an integration problem before it is an AI one.

Read next


All insights