Sample
Sample a subset of documents using random or stratified sampling
Configuration
REQUIRED. Number of documents to sample.
Sampling strategy: 'random', 'stratified', or 'reservoir'.
Field to stratify on (required when strategy='stratified').
Random seed for reproducible sampling.
Always keep top K documents by score, sample from remainder.
Output
No output yet
Configure the stage parameters and click "Run Stage" to see the simulated output.
Related to sample
Pages on the same stages, extractors and patterns.
Aggregate
Compute aggregations (COUNT, SUM, AVG, etc.) on pipeline results
Group By
Group documents by field value for decompose/recompose workflows
Cluster
Cluster documents by embedding similarity to discover themes
Temporal
Group documents by time windows and compute per-window aggregations with drift detection
Limit
Truncate results to a maximum count with optional offset for pagination
Deduplicate
Remove duplicate documents by field match or content similarity