writinwaters 3e0bc9e36b
Added a graphrag guide (#4978)
### What problem does this PR solve?



### Type of change


- [x] Documentation Update
2025-02-18 13:42:06 +08:00

888 B

sidebar_position slug
1 /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, date, and more 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.

Image

:::tip NOTE Ensure that your metadata is in JSON format; otherwise, your updates will not be applied. :::

Image