mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 11:58:34 +02:00
Citations
This commit is contained in:
parent
89021cde90
commit
a514818e13
@ -3,9 +3,9 @@ from onyx.prompts.constants import QUESTION_PAT
|
||||
|
||||
REQUIRE_CITATION_STATEMENT = """
|
||||
Cite relevant statements INLINE using the format [1], [2], [3], etc. to reference the document number. \
|
||||
DO NOT provide any links following the citations. In other words, do not cite like [1](https://example.com). \
|
||||
To cite multiple documents, use [1], [2] format instead of [1, 2]. Try to cite inline as opposed to \
|
||||
leaving all citations until the very end of the response.
|
||||
DO NOT provide any links following the citations. In other words, avoid using the format [1](https://example.com). \
|
||||
Avoid using double brackets like [[1]]. To cite multiple documents, use [1], [2] format instead of [1, 2]. \
|
||||
Try to cite inline as opposed to leaving all citations until the very end of the response.
|
||||
""".rstrip()
|
||||
|
||||
NO_CITATION_STATEMENT = """
|
||||
|
Loading…
x
Reference in New Issue
Block a user