mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 09:59:09 +08:00
Added a guide on setting metadata (#4935)
### What problem does this PR solve? ### Type of change - [x] Documentation Update
This commit is contained in:
parent
ff237f2dbc
commit
17fa2e9e8e
8
docs/guides/configure_knowledge_base/_category_.json
Normal file
8
docs/guides/configure_knowledge_base/_category_.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Configure a knowledge base",
|
||||
"position": 0,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Guides on configuring a knowledge base."
|
||||
}
|
||||
}
|
22
docs/guides/configure_knowledge_base/set_metadata.md
Normal file
22
docs/guides/configure_knowledge_base/set_metadata.md
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
sidebar_position: 0
|
||||
slug: /set_metada
|
||||
---
|
||||
|
||||
# Set metadata
|
||||
|
||||
Add metadata to an uploaded file
|
||||
|
||||
---
|
||||
|
||||
On the **Dataset** page of your knowledge base, you can add metadata to any uploaded file. This approach enables you to 'tag' additional information like URL, author, and date, to an existing file or dataset. In an AI-powered chat, such information will be sent to the LLM with the retrieved chunks for content generation.
|
||||
|
||||
For example, if you have a dataset of HTML files and want the LLM to cite the source URL when responding to your query, add a `"url"` parameter to each file's metadata.
|
||||
|
||||

|
||||
|
||||
:::note TIP
|
||||
Ensure that your metadata is in JSON format; otherwise, your updates will not be applied.
|
||||
:::
|
||||
|
||||

|
@ -3,7 +3,7 @@ sidebar_position: 2
|
||||
slug: /launch_ragflow_from_source
|
||||
---
|
||||
|
||||
# Launch the RAGFlow Service from Source
|
||||
# Launch a RAGFlow Service from Source
|
||||
|
||||
A guide explaining how to set up a RAGFlow service from its source code. By following this guide, you'll be able to debug using the source code.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user