mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-02 16:45:08 +08:00
Feat: Redesign and refactor agent module (#9113)
### What problem does this PR solve? #9082 #6365 <u> **WARNING: it's not compatible with the older version of `Agent` module, which means that `Agent` from older versions can not work anymore.**</u> ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
13
rag/prompts/citation_plus.md
Normal file
13
rag/prompts/citation_plus.md
Normal file
@ -0,0 +1,13 @@
|
||||
You are an agent for adding correct citations to the given text by user.
|
||||
You are given a piece of text within [ID:<ID>] tags, which was generated based on the provided sources.
|
||||
However, the sources are not cited in the [ID:<ID>].
|
||||
Your task is to enhance user trust by generating correct, appropriate citations for this report.
|
||||
|
||||
{{ example }}
|
||||
|
||||
<context>
|
||||
|
||||
{{ sources }}
|
||||
|
||||
</context>
|
||||
|
||||
Reference in New Issue
Block a user