Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Metadata Schemas and Search Filters

Metadata filters narrow retrieval using file attributes. Define consistent fields and values so a question can select the intended documents.

Before you begin

A knowledge-base metadata schema and populated values on the relevant files.

Key concepts

Term
Definition

Metadata

Structured attributes associated with a source file or record. Consistent field names and types make filtering predictable.

Schema

A definition of fields, types, required values, and supported constraints. Use it to validate the shape of data; it does not establish factual correctness.

Source selection

The files or folders included in an operation. An empty optional selection can mean the whole knowledge base rather than no files.

Configuration options

Option
Purpose
Behavior

Filter

A condition that narrows the records eligible for an operation.

A filter can exclude relevant content before ranking occurs.

Filter searches with metadata

  1. Inspect the available metadata fields and their types.

Use the Metadata tab to assign consistent properties to source files.

Use the Metadata tab to assign consistent properties to source files.

  1. Configure the filter or metadata-aware query using those fields.

  2. Review the resulting source set and retrieved passages.

The query returns evidence from documents that meet the supported filter conditions.

Behavior and limitations

Use fields defined in the knowledge-base metadata schema and values actually assigned to files. Mentioning a field in a question does not create it or guarantee a valid filter. Check the returned source set when using natural-language filtering. Metadata filters narrow content; they do not replace permission controls.

Metadata filters

File Inputs, Supported Formats, and Size Limits

Was this helpful?