Set Metadata
Add metadata to an uploaded file to enrich AI-powered responses.
On the Dataset page of your knowledge base, you can add metadata to any uploaded file. This enables you to ‘tag’ additional information — such as 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.
Example
Section titled “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.
How to Set Metadata
Section titled “How to Set Metadata”-
Navigate to the Dataset page of your knowledge base.
-
Click the metadata icon next to the file you want to annotate.
-
Enter your metadata as a JSON object. For example:
{"url": "https://example.com/article","author": "Jane Smith","date": "2024-01-15"} -
Click Save to apply.