All Questions
Rag And Retrieval medium

A compliance assistant must cite sources. Today the model writes its answer and is then prompted to add references. Auditors find citations to section numbers that do not exist. What is the best fix?

  1. A Lower the sampling temperature to zero so the model produces deterministic and therefore accurate references.
  2. B Fine-tune the model on the compliance corpus so it memorizes section numbers and can cite them reliably.
  3. C Tag each retrieved chunk with an ID, have the model cite only those IDs, and verify them against the retrieved set.
  4. D Run a second LLM pass that searches the public web for sources supporting each sentence the first model wrote.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions