Skip to main content
Aurikle

AI and systems

How to refuse a knowledge-base answer when there is no source

When the knowledge base has no usable source, or the result is below the line the company has written, the assistant uses the prepared sentence to refuse or hand off, does not send a sentence with no source, and records the miss. Citations say how a reply carries a path, a version, and a section. Wrong-answer intake says what happens after someone marks a reply wrong. Retrieval evaluation asks whether a prepared question returned its passage. Prompt versions say which fixed text is in effect. This note says how this turn stops when there is no source.

On this page

Matching serviceInternal knowledge base and assistant

Keep the refusal apart from citations, wrong answers, retrieval tests, and prompt versions

A citation requires the path, the version, and the section before a reply is sent, and someone who can open that section has seen the sentence. Wrong-answer intake, after someone marks a reply wrong, puts the question, the wrong reply, and the correct source on one line. Retrieval evaluation uses questions whose sources are already known and asks whether this run returned that passage. Prompt versions decide which system message and which fixed prompt are in effect. A refusal answers a different question: this retrieval returned no usable source, or it fell below the line the company has written, so what the assistant says, when it asks a clearer question, when it hands the turn to a person, and how this miss is recorded as a gap in the corpus. See How to attach sources to a knowledge-base reply, How to record and fix a wrong knowledge-base answer, How to evaluate knowledge-base retrieval, and How to version prompts for an enterprise assistant.

Which documents may stand as the rule is in How to build an enterprise knowledge base. The delivery scope sits under Internal knowledge base and assistant. Which file is current, and which file is past its review, still decide what may be a source. See How to manage document versions in a knowledge base and How to handle stale documents in a knowledge base. A refusal does not change those marks.

When there is no usable source, do not compose a finished answer

Microsoft Learn on prompt engineering for RAG. The page says a RAG prompt has the model reason over retrieved content rather than answer from its parametric knowledge. It says the grounding instruction has to be explicit: the model must use only the information in the provided context and must not use information from its training data. A vague "use the context if helpful" is too wide. The model may mix the context with what it was pretrained on.

The same page says that if the prompt does not define what to do when the context is insufficient, the model generates an answer from its parametric knowledge, which breaks the grounding constraint. When retrieval returns no results, or only irrelevant chunks, the page says to instruct the model to acknowledge the gap rather than fabricate an answer. The English examples on the page are examples. They are not this assistant's refusal text. The page describes a RAG practice on Azure. It is not an instruction to buy that service.

The company writes the refusal sentence and dates it

The sentence to send when there is no usable source is written on the refusal record, with who set it and on which day. The sentence has to tell the colleague that this turn has no source. It is not a paragraph that reads as a finished answer. If the sentence is blank, the assistant does not send a finished answer.

The page's examples show one way to write a fallback, including saying which parts could be answered and which could not. If the company uses that split, the same record says how the unanswered part is marked. Until that is written, the English example on the page is not sent as the reply. If the sentence is taken into the prompt version, approval stays with the prompt note. See How to version prompts for an enterprise assistant. The refusal record only names the current prompt version. It does not open another version.

When the source covers only part of the question, say only that part

The page says a fallback can be a structured response that indicates which parts of the query were answerable and which were not. A sentence that is in the source may be sent, and it carries the path, the version, and the section under the citation note. The part that is not in the source uses the refusal sentence. It is not filled from the model's own knowledge.

When retrieved chunks conflict, the page says to acknowledge the conflict rather than quietly pick one side. The reply names both sources. It does not merge them into a conclusion with no source. The half that has no source still uses the refusal sentence. If the citation fields do not match the current text on the store, that half is not sent. See How to attach sources to a knowledge-base reply.

Ask a clearer question when the request is ambiguous, and hand off only when an owner is already named

If the colleague's question points at more than one matter and the source cannot show which one, the assistant first sends the clarifying question the company has written. It does not refuse first, and it does not compose an answer first. That question is also on the refusal record and dated. If it is blank, the refusal sentence is used directly.

If the topic already names an owner in the knowledge base, and this turn has no usable source, the assistant writes that owner's name after the refusal sentence and records the handoff. If no owner is written on the document or the topic, a person who happens to be present is not named for the occasion. The handoff does not replace the refusal sentence. Until a person has taken the turn, the colleague still sees that there is no source, not a completed answer.

Record the miss so the gap can be filled later

Every refusal, and every answer that covers only part of the question, is one row: the question as asked, the time, whether nothing was retrieved, what was retrieved was not relevant, or the result was below the company's line, whether the reply was the refusal sentence or the clarifying question, and whether there was a handoff. The row does not invent a score in place of that fact.

If the next step is to add a document, recut a passage, or change the prompt, it points at the versioning, chunking, and prompt notes. It does not redo them. See How to manage document versions in a knowledge base, How to choose chunk boundaries for a knowledge base, and How to version prompts for an enterprise assistant. If a colleague later says a sent reply was wrong, that still goes through wrong-answer intake. This row is the record from before a finished answer was sent.

Until the company's line has a date, a finished answer is not sent without a source

If the company uses a score to decide between sending an answer and refusing, the refusal record states the document type, the field or the topic, and the score below which the turn refuses, with a date. The page does not give that score. Until the line has a date, a turn with no usable source does not send a finished answer. A turn that has a source and is above the line still has to carry a citation. A high score does not drop the source.

Hits and misses in retrieval evaluation measure the prepared questions. See How to evaluate knowledge-base retrieval. Figures from that note are not copied onto this line. After the line is dated, a turn below it is refused. The question set in the evaluation note is not rewritten.

The assistant can refuse when the sentence, the handoff, and the miss are written

If the refusal sentence is blank, if the rule for a clarifying question is blank, or if a miss row cannot hold the question and the reason, the assistant does not send something that reads as a finished answer. If a handoff has no owner's name, only the refusal sentence is sent. A name is not invented for the occasion.

Three checks show the refusal is in place: a turn with no usable source sends the sentence that was written; when only part is covered, the uncovered part is not filled in; and every such turn leaves a miss row. A blank item means this turn does not send a finished answer.

Related notes

Book a consultationInternal knowledge base and assistant