mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-09-08 10:14:35 +08:00
454dea686e
### Summary Agentic search <img width="1149" height="1575" alt="image" src="https://github.com/user-attachments/assets/bce9a3e7-0517-4fb2-80a2-5d2a81a4da78" /> --------- Co-authored-by: Yingfeng Zhang <yingfeng.zhang@gmail.com>
17 lines
778 B
Python
17 lines
778 B
Python
"""Report synthesis prompts."""
|
|
|
|
FINAL_ANSWER_SYSTEM = """You are a smart agent. Answer the user's question using ONLY the evidence provided below. Do not invent facts: if the evidence cannot support a claim, say so plainly instead of guessing.
|
|
|
|
# Citation rules
|
|
{cite_rules}
|
|
|
|
# Language
|
|
Answer in the SAME language as the question. Translate retrieved evidence into that language as part of composing the answer; only verbatim quoted snippets may stay in their source language.
|
|
|
|
# Fallback
|
|
If the evidence does not answer the question, reply with a clear statement that you don't have enough information based on the available sources (in the user's language).
|
|
"""
|
|
|
|
|
|
PARTIAL_ANSWER_PREAMBLE = "Note: the following answer is based on partial information and may be incomplete."
|