Reduce
Group By
Group documents by field value for decompose/recompose workflows
Note: This playground provides simulated output to showcase functionality. No data is processed on our servers. Use this demo to explore the stage's configuration options before integrating it into your retriever pipeline.
Configuration
string
Required
REQUIRED. Field path to group documents by (dot notation supported).
integer
Maximum documents per group. Use 1 for deduplication.
string
Output format: 'first' (top doc per group), 'all' (grouped), 'flatten' (flat list).
Output
No output yet
Configure the stage parameters and click "Run Stage" to see the simulated output.
Related to group_by
Pages on the same stages, extractors and patterns.
Retriever
Aggregate
Compute aggregations (COUNT, SUM, AVG, etc.) on pipeline results
Learn more
Retriever
Cluster
Cluster documents by embedding similarity to discover themes
Learn more
Retriever
Sample
Sample a subset of documents using random or stratified sampling
Learn more
Retriever
Temporal
Group documents by time windows and compute per-window aggregations with drift detection
Learn more
Retriever
Limit
Truncate results to a maximum count with optional offset for pagination
Learn more
Retriever
Deduplicate
Remove duplicate documents by field match or content similarity
Learn more