Documentation Index
Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
- Attach a retriever enrichment to a collection with input mappings and write-back field configuration
- Ingest documents via batch processing as usual
- Post-processing executes the retriever for each document, mapping document fields to retriever inputs
- Write-back extracts specified fields from retriever results and writes them to the document
Configuration
Each retriever enrichment has three main sections:Input Mappings
Map document fields or constant values to retriever input parameters:Write-Back Fields
Configure which retriever result fields to write back to documents:| Mode | Behavior |
|---|---|
first | Write value from the first result only (default) |
all_as_array | Collect values from all results into a list |
concat | Concatenate string values from all results with ”, ” separator |
Execution Control
| Field | Description | Default |
|---|---|---|
execution_phase | Post-processing phase (1-4) | 4 (Enrichment) |
priority | Priority within phase (higher = runs first) | 0 |
scroll_filters | Filter which documents to enrich | None (all documents) |
enabled | Whether enrichment is active | true |
Example: LLM Classification at Ingestion
Attach a retriever with anllm_enrich stage to classify documents as they’re ingested:
Example: Cross-Collection Join
Use a retriever enrichment to join data from a reference collection:Retriever enrichments execute sequentially within each collection to avoid race conditions. For collections with many documents, enrichment time scales linearly with document count.
Comparison with Other Enrichment Types
| Feature | Taxonomies | Clusters | Alerts | Retriever Enrichments |
|---|---|---|---|---|
| Purpose | Vector-based classification | Document grouping | Notifications | Arbitrary retriever pipelines |
| Output | Label + score fields | Cluster assignments | Webhook notifications | Configurable field write-back |
| Phase | 1 | 2 | 3 | 4 (default) |
| Execution | Parallel per document | Batch | Parallel per document | Sequential per document |
| Use cases | Face matching, entity linking | Segmentation, pattern discovery | Content monitoring | LLM classification, cross-collection joins |

