Skip to main content
Content classification: documents are enriched via taxonomies (flat or hierarchical similarity matching) or retriever enrichments (pipeline execution with field write-back)
For full configuration details, parameters, and advanced options, see the Taxonomies reference.

Taxonomies

Auto-classify documents by matching them against reference collections. Two types: Flat — match each document against a single reference collection. When similarity exceeds the threshold, enrichment fields (SKU, category, label) are attached. Hierarchical — parent/child nodes with inheritance. Documents traverse levels of refinement (brand → category → subcategory) using different features at each level.

When to Run

Taxonomy API →

Retriever Enrichments

Attach a retriever pipeline to a collection so it runs on every new document. The retriever executes, and selected result fields are written back to the document.
Use cases: auto-classify via LLM, cross-collection joins, label propagation from seed documents. Collection update API →

Annotations

Explicit human decisions with full provenance — the ground truth layer for compliance, review workflows, and improving retrieval quality over time.

What Each Annotation Captures

Annotations are stored independently from documents — they never modify the source data. Use them to build review queues, audit trails, and curated ground truth datasets.

Bulk Operations

Process review queues at scale with the bulk API:

The Feedback Loop

Annotations feed directly into the platform’s learning cycle:
  1. Annotations provide explicit ground truth for edge cases
  2. Learned fusion uses annotations to auto-tune retriever stage weights
  3. Approved annotations can be piped into reference collections, expanding your taxonomy’s coverage
  4. Retroactive taxonomy application reclassifies existing documents when annotations improve the reference set
Annotation API → · Bulk API →

Choosing an Approach