Citation Prompt

This commit is contained in:
Yuhong Sun
2025-02-04 14:17:23 -08:00
parent 32ecc282a2
commit 89021cde90

View File

@@ -3,8 +3,9 @@ from onyx.prompts.constants import QUESTION_PAT
REQUIRE_CITATION_STATEMENT = """ REQUIRE_CITATION_STATEMENT = """
Cite relevant statements INLINE using the format [1], [2], [3], etc. to reference the document number. \ Cite relevant statements INLINE using the format [1], [2], [3], etc. to reference the document number. \
DO NOT provide any links following the citations. To cite multiple documents, use [1], [2] format \ DO NOT provide any links following the citations. In other words, do not cite like [1](https://example.com). \
instead of [1, 2]. Try to cite inline as opposed to leaving all citations until the very end of the response. 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() """.rstrip()
NO_CITATION_STATEMENT = """ NO_CITATION_STATEMENT = """