Table of contents
Official Content
  • This documentation is valid for:

The default metadata elements used by a RAG assistant are:

Identifier Description
id Document GUID returned during insertion
doc_id Internal GUID used when ParentDocument is enabled
name Original document name
extension Original document extension
source Document source, in general, a URL

When uploading a document, you can add metadata by clicking on [[New row]].

HowtoRAGAssistant5b

The format follows a key/value configuration for each row. For example:

// Numeric
Name: 'year'
Value: 2003
// String
Name: 'tag'
Value: 'tagId01'

If you want to add multivalued(1) elements, make sure to use an Array to set the desired values.

// List of quarters
Name: 'quarters'
Value: ['q1','q2','q3']
// List of years
Name: 'years'
Value: [2023,2024,2025]
// list of tags
Name: 'tags'
Value: ["tagId01","tagId02","tagId03"]

(1) Available version 2025-07.

Later, during the retrieval process, you can filter based on specific metadata. The available options include:

Last update: December 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant