Skip to main content

Module parallelization

Module parallelization 

Source
Expand description

Parallelization workflow pattern

This pattern executes multiple prompts concurrently and aggregates their results. It’s ideal for tasks that can be decomposed into independent subtasks.

Structs§

ParallelConfig
Configuration for parallel execution
ParallelTask
Individual parallel task
ParallelTaskResult
Result from a parallel task execution
Parallelization
Parallelization workflow that executes multiple prompts concurrently

Enums§

AggregationStrategy
Strategy for aggregating parallel results
TaskPriority
Priority levels for parallel tasks