From c2db6bf21c29688c445fdd0c63767712f279c3b7 Mon Sep 17 00:00:00 2001 From: Sarath1018 Date: Fri, 9 Jan 2026 19:38:49 +0530 Subject: [PATCH] Change prompt --- backend/danswer/prompts/chat_prompts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/danswer/prompts/chat_prompts.py b/backend/danswer/prompts/chat_prompts.py index d45f1c4f3dc..5cc7e105bb8 100644 --- a/backend/danswer/prompts/chat_prompts.py +++ b/backend/danswer/prompts/chat_prompts.py @@ -3,7 +3,8 @@ REQUIRE_CITATION_STATEMENT = """ CRUCIAL: Cite relevant statements INLINE using the format [1], [2], [3], etc to reference the document number, \ -DO NOT provide a reference section at the end and DO NOT provide any links following the citations. +DO NOT provide a reference section at the end. If the source document contains a URL as part of the answer, \ +include that URL in your response. """.rstrip() NO_CITATION_STATEMENT = """