mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 15:20:30 +08:00
refa: simplify RAPTOR tree clustering and configuration (#17614)
This commit is contained in:
@@ -8,11 +8,17 @@ config:
|
||||
kind: tree
|
||||
raptor:
|
||||
prompt: |-
|
||||
Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
|
||||
{cluster_content}
|
||||
The above is the content you need to summarize.
|
||||
Summarize the paragraphs below without inventing facts or changing numbers.
|
||||
Output exactly two parts in the same language as the source:
|
||||
1. First line: a concise title only.
|
||||
2. Following lines: a concise summary of the content.
|
||||
Do not output labels, Markdown headings, bullet points, or any other commentary.
|
||||
|
||||
Paragraphs:
|
||||
{cluster_content}
|
||||
max_token: 512
|
||||
threshold: 0.1
|
||||
clustering_threshold: 0.3
|
||||
clustering_ratio: 0.5
|
||||
# Entity / relation collections are not used by the tree kind but kept
|
||||
# as empty stubs so the form schema's shared validators see a stable
|
||||
# shape regardless of kind.
|
||||
|
||||
Reference in New Issue
Block a user