Enrichment
Taxonomy Enrichment
Apply taxonomy classifications to documents during retrieval for dynamic categorization
Why do anything?
Documents need classification but ingestion-time taxonomy may not exist or may change.
Why now?
Retrieval-time enrichment enables dynamic classification without re-indexing.
Why this feature?
Apply taxonomy classifications during retrieval, supporting both flat and hierarchical taxonomies.
How It Works
Taxonomy enrichment applies classifications during retrieval.
1
Taxonomy Loading
Load taxonomy configuration
2
Content Analysis
Analyze document content for classification
3
Category Assignment
Assign taxonomy categories
4
Field Addition
Add classification to documents
Why This Approach
Retrieval-time classification enables dynamic taxonomies without re-indexing.
Where This Is Used
Integration
retriever = client.retrievers.create(stages=[{"type": "taxonomy_enrich", "taxonomy_id": "..."}])
