Skip to content

Commit 4110841

Browse files
Merge pull request #35 from UiPath/sarath/change-prompt
Change prompt to include URLs in response
2 parents a041f99 + c2db6bf commit 4110841

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backend/danswer/prompts/chat_prompts.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
REQUIRE_CITATION_STATEMENT = """
55
CRUCIAL: Cite relevant statements INLINE using the format [1], [2], [3], etc to reference the document number, \
6-
DO NOT provide a reference section at the end and DO NOT provide any links following the citations.
6+
DO NOT provide a reference section at the end. If the source document contains a URL as part of the answer, \
7+
include that URL in your response.
78
""".rstrip()
89

910
NO_CITATION_STATEMENT = """

0 commit comments

Comments
 (0)