Skip to content

Commit 09690f1

Browse files
committed
chore(prompts): update Responder system prompt for better citations
1 parent 9f2005c commit 09690f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/data/rag_answer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"query": "What is the block time for the Flare blockchain?",
3-
"answer": "The Flare blockchain produces a block approximately every 1.8 seconds [Document 0].\n"
3+
"answer": "The Flare blockchain generates a new block approximately every 1.8 seconds [Document 0-overview.mdx].\n"
44
}

src/flare_ai_rag/responder/prompts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
Guidelines:
88
- Use the provided context to support your answer. If applicable,
9-
include citations referring to the context (e.g., "[Document 1]" or "[Source A]").
9+
include citations referring to the context (e.g., "[Document <name>]" or "[Source <name>]").
1010
- Be clear, factual, and concise. Do not introduce any information that isn't
1111
explicitly supported by the context.
1212
- Maintain a professional tone and ensure that all technical details are accurate.

0 commit comments

Comments
 (0)