Added a guide on running a retrieval test, with and without knowledge graph (#5200)

### What problem does this PR solve?



### Type of change


- [x] Documentation Update
This commit is contained in:
writinwaters
2025-02-21 19:36:20 +08:00
committed by GitHub
parent ef8847eda7
commit 217caecfda
9 changed files with 114 additions and 21 deletions

View File

@ -11,7 +11,7 @@ Generate a knowledge graph for your knowledge base.
To enhance multi-hop question-answering, RAGFlow adds a knowledge graph construction step between data extraction and indexing, as illustrated below. This step creates additional chunks from existing ones generated by your specified chunk method.
![Image](https://github.com/user-attachments/assets/edf0528d-cb46-46fc-aef4-edb98996949b)
![Image](https://github.com/user-attachments/assets/1ec21d8e-f255-4d65-9918-69b72dfa142b)
As of v0.16.0, RAGFlow supports constructing a knowledge graph on a knowledge base, allowing you to construct a *unified* graph across multiple files within your knowledge base. When a newly uploaded file starts parsing, the generated graph will automatically update.
@ -73,4 +73,12 @@ In a knowledge graph, a community is a cluster of entities linked by relationshi
### Can I have different knowledge graph settings for different files in my knowledge base?
Yes, you can. Just one graph is generated per knowledge base. The smaller graphs of your files will be *combined* into one big, unified graph at the end of the graph extraction process.
Yes, you can. Just one graph is generated per knowledge base. The smaller graphs of your files will be *combined* into one big, unified graph at the end of the graph extraction process.
### Does the knowledge graph automatically update when I remove a related file?
Nope. The knowledge graph does *not* automatically update *until* a newly uploaded graph is parsed.
### How to remove a generated knowledge graph?
To remove the generated knowledge graph, delete all related files in your knowledge base. Although the **Knowledge Graph** entry will still be visible, the graph has actually been deleted.