Citations

This commit is contained in:
Yuhong Sun 2025-02-04 14:34:44 -08:00
parent 89021cde90
commit a514818e13

View File

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