Skip to main content
Chain examples cover composition: piping primitives into typed pipelines, extracting structured data from prose, and recovering when an LLM emits dirty JSON. Sources under examples/chains/.

How to run

See also

Runnables

The contract these chains compose.

Structured output

Parsers, fixers, retry strategies.

Parsers examples

OutputFixingParser and RetryParser in action.