Pipelex Cookbook Examples
Welcome to the Pipelex Cookbook!
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, play with the examples, and tailor them to your specific needs.
Quick Start
- Hello World — The simplest Pipelex pipeline: a single LLM call that generates a haiku.
- Summarize — Multi-step text summarization with topic extraction and batching.
Document Extraction
- Generic Document — Extract markdown from complex PDFs using vision.
- Invoice — Extract structured invoice data with classification and vision analysis.
- Proof of Purchase — Extract receipt data including product lists.
- DPE (Energy Diagnostic) — Specialized extraction for French energy performance certificates.
- Table from Image — Convert table images to HTML with self-correction review.
- Gantt Chart — Extract tasks and dates from Gantt chart images using divide-and-conquer.
- Markdown from Document — Simple document-to-markdown using shared method packages.
- Slides from Presentation — Extract slide content and descriptions with vision analysis.
Visual Generation
- Design Slides — Generate themed slide design proposals with visual mockups.
- Generate Image — Creative image generation through a three-step pipeline.
Advanced
- Synthetic Data — Generate diverse synthetic data samples from a description.
- Expense Data with Receipts — Generate complete expense datasets with receipt images and fraud scenarios.
- Using Inference Plugins — Route model calls through custom provider configurations.
Work in Progress
These examples are under active development and may change:
- Tweet Optimizer — Analyze and optimize tech tweets with style transfer.
- Blog Article Generator — Generate SEO-optimized articles from structured requests.
- Advisory Board — Multi-board business consultation with consensus analysis.
- Discord Newsletter — Generate HTML newsletters from Discord channel data.
- Expense Validation — 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 and help us grow this collection of examples.