Skip to content

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.

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.

  1. Navigate to the Dataset page of your knowledge base.

  2. Click the metadata icon next to the file you want to annotate.

  3. Enter your metadata as a JSON object. For example:

    {
    "url": "https://example.com/article",
    "author": "Jane Smith",
    "date": "2024-01-15"
    }
  4. Click Save to apply.