Use a similarity or reranker score threshold, and check whether the top results actually answer the question.
If evidence is weak, respond with "I don't know" or ask a clarifying question, fall back to another source (web search, human handoff), or try a rewritten query, rather than letting the LLM answer from nothing.
Log low-confidence queries; they reveal missing documents and gaps in the knowledge base.
Loading…