From 06c27cbcdf8e75415cc7d902471a5a561a315a64 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/danswer/prompts/chat_prompts.py b/backend/danswer/prompts/chat_prompts.py index d45f1c4f3dc..7ccb508d956 100644 --- a/backend/danswer/prompts/chat_prompts.py +++ b/backend/danswer/prompts/chat_prompts.py @@ -3,7 +3,7 @@ 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 = """