Blog
    AI Solutions8 min

    LLM Hallucinations: How to Reduce Them with Grounding, Source Citations and Checks

    Abstract illustration of an AI answer with sentences linked to source documents and one unsourced sentence highlighted
    November 20, 2026Team 42bites
    LLMHallucinationsGroundingRAGAI IntegrationReliability

    A language model can write a correct answer and an invented one in the same confident tone. This behaviour, known as hallucination, is the main obstacle to using LLMs on company information such as price lists, contracts and procedures. It cannot be removed entirely, but it can be reduced substantially with deliberate design choices and, above all, it can be made visible when it happens.

    What a Hallucination Is

    A hallucination occurs when an LLM produces a statement that is plausible but false or unsupported by the available sources: a wrong date, a clause that does not exist, an invented legal reference. The model is not lying: it generates the most likely text given the context, and on its own it does not distinguish between what it knows and what it is completing by resemblance.

    Why It Happens

    • The model does not know the company's internal data and fills the gap with generic information.
    • The question concerns facts later than the training date.
    • The context supplied is incomplete, contradictory or too long.
    • The instructions push the model to always answer, even when the information is missing.
    • The request involves exact details, such as numbers, names and quotations, where models are less reliable.

    Grounding: Answering from the Documents

    Grounding means giving the model, together with the question, the document passages from which to derive the answer. It is the principle behind RAG, retrieval-augmented generation: a search system selects the relevant passages and the model answers using only those. Answer quality therefore depends largely on retrieval quality: if the right passage is not found, the model tends to complete with what it remembers.

    Citations and Permission to Abstain

    Two instructions change behaviour considerably. The first asks the model to indicate, for every statement, the passage it comes from: users can check the source in one click, and sentences without a reference immediately look suspect. The second explicitly allows the model to state that the information is not in the documents.

    Answer using only the documents provided.

    After each statement, give the identifier of the passage used in square brackets.

    If the documents do not contain the answer, write: "Information not found in the documents".

    Some model providers offer native citation features, which return the exact passage supporting each sentence. Where available, they are more reliable than a citation requested only in the prompt.

    Checks After Generation

    • Faithfulness check: a second step verifies that each sentence in the answer is supported by the retrieved passages.
    • Validation of exact data: amounts, codes and dates are compared with the source system by code, not by the model.
    • Structured output: required fields and defined formats leave less room for invention.
    • Human review for answers that affect customers, contracts or financial decisions.

    How to Measure It

    Without a measurement, reducing hallucinations remains an impression. You need a set of real questions with the expected answers and correct sources, to be rerun at every change to the prompt, the model or the document index. Three metrics are useful: the share of answers supported by the sources, the share of questions where the system correctly abstained, and the share of wrong abstentions, meaning cases where the information existed but was not found.

    Reduces hallucinations

    • Up-to-date, well-chunked documents
    • Explicit instruction to abstain
    • Source citation for every statement
    • Exact data read from systems, not generated

    Increases them

    • Questions with no context supplied
    • An obligation to always answer
    • Long context with contradictory documents
    • Asking for numbers and references from memory

    Limits to Keep in Mind

    No technique brings hallucinations to zero. A model can cite a real passage and misread it, or merge two sources into a conclusion that neither supports. For this reason, in areas where an error has legal or financial consequences, AI should be designed as support for a person who checks, with sources always visible.

    Key takeaway: hallucinations are reduced by anchoring answers to documents, asking for sources, letting the model say it does not know and measuring results on real questions.

    Want an AI Assistant That Answers Only with Verifiable Sources?

    We design LLM solutions grounded in company documents, with citations, checks and quality tests.