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
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
Filter
A condition that narrows the records eligible for an operation.
A filter can exclude relevant content before ranking occurs.
Filter searches with metadata
Inspect the available metadata fields and their types.

Use the Metadata tab to assign consistent properties to source files.
Configure the filter or metadata-aware query using those fields.
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.
Related resources
Was this helpful?

