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 = """