---
title: "Cookbook Examples"
description: "Practical Pipelex examples and ready-to-use recipes: Hello World, document extraction, visual generation, synthetic data, and more."
---

# Pipelex Cookbook Examples

Welcome to the Pipelex Cookbook!

[![GitHub](https://img.shields.io/badge/Cookbook_Repository-5a0dad?logo=github&logoColor=white&style=flat)](https://github.com/Pipelex/pipelex-cookbook/tree/main)

This is your go-to resource for practical examples and ready-to-use recipes to build powerful and reliable AI methods with Pipelex. Whether you're a beginner looking to get started or an experienced user searching for advanced patterns, you'll find something useful here.

We strongly encourage you to clone the [Pipelex Cookbook repository](https://github.com/Pipelex/pipelex-cookbook/tree/main), play with the examples, and tailor them to your specific needs.

## Quick Start

- [**Hello World**](./hello-world.md) — The simplest Pipelex pipeline: a single LLM call that generates a haiku.
- [**Summarize**](./summarize.md) — Multi-step text summarization with topic extraction and batching.

## Document Extraction

- [**Generic Document**](./extract-generic.md) — Extract markdown from complex PDFs using vision.
- [**Invoice**](./extract-invoice.md) — Extract structured invoice data with classification and vision analysis.
- [**Proof of Purchase**](./extract-proof-of-purchase.md) — Extract receipt data including product lists.
- [**DPE (Energy Diagnostic)**](./extract-dpe.md) — Specialized extraction for French energy performance certificates.
- [**Table from Image**](./extract-table.md) — Convert table images to HTML with self-correction review.
- [**Gantt Chart**](./extract-gantt.md) — Extract tasks and dates from Gantt chart images using divide-and-conquer.
- [**Markdown from Document**](./extract-markdown.md) — Simple document-to-markdown using shared method packages.
- [**Slides from Presentation**](./extract-slides.md) — Extract slide content and descriptions with vision analysis.

## Visual Generation

- [**Design Slides**](./design-slides.md) — Generate themed slide design proposals with visual mockups.
- [**Generate Image**](./generate-image.md) — Creative image generation through a three-step pipeline.

## Advanced

- [**Synthetic Data**](./gen-synthetic-data.md) — Generate diverse synthetic data samples from a description.
- [**Expense Data with Receipts**](./gen-expense-data.md) — Generate complete expense datasets with receipt images and fraud scenarios.
- [**Using Inference Plugins**](./using-inference-plugins.md) — Route model calls through custom provider configurations.

## Work in Progress

These examples are under active development and may change:

- [**Tweet Optimizer**](./write-tweet.md) — Analyze and optimize tech tweets with style transfer.
- [**Blog Article Generator**](./blog-article-generator.md) — Generate SEO-optimized articles from structured requests.
- [**Advisory Board**](./advisory-board.md) — Multi-board business consultation with consensus analysis.
- [**Discord Newsletter**](./discord-newsletter.md) — Generate HTML newsletters from Discord channel data.
- [**Expense Validation**](./validate-expense-data.md) — Validate expense reports against company policies.

## Contribute

Have you built a cool pipeline with Pipelex? Share it with the community! We welcome contributions. Check out our [contribution guidelines](../contributing.md) and help us grow this collection of examples.
