asyncio-tasks that run concurrently.
That way you get the most out of the parallelism that Chains offers. This
design pattern is extensively used in the
audio transcription example.
Develop a Chain
Architecture and design
How to structure your Chainlets
A Chain is composed of multiple connected Chainlets working together to perform
a task.
For example, the Chain in the following diagram takes a large audio file as input.
Then it splits it into smaller chunks, transcribes each chunk in parallel
(reducing the end-to-end latency), and finally aggregates and returns the
results.

To build an efficient Chain, we recommend drafting your high level
structure as a flowchart or diagram. This can help you identify
parallelizable units of work and steps that need different (model/hardware)
resources.
If one Chainlet creates many “sub-tasks” by calling other dependency
Chainlets (for example, in a loop over partial work items),
these calls should be done as