Skip to content

Commit 8ff704f

Browse files
committed
feat(gen_rag): tweak prompt to improve references
1 parent 51a544b commit 8ff704f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rag_pkg/gen_rag/rag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ def _generate_answer_from_context_node(self, state: RAGState) -> dict:
396396
directly to the user in clear natural language.
397397
- Do not include your thinking in your response.
398398
- Include a "References" section at the end of your answer.
399-
- In this section, include a list of URLs of the referenced
400-
documents from the provided cotenxt that you used to generate the
399+
- In this section, quote the Reference URLs of the documents
400+
from the provided context that you used to generate the
401401
current answer.
402402
- Do *not* repeat references/URLs in the list.
403403

0 commit comments

Comments
 (0)