Skip to content

Tutorials

Learn DSPydantic by doing. These guides walk you through concrete tasks with working examples.

Follow the Learning Path

New to DSPydantic? Start here:

  1. Quickstart — Get your first extraction working in 5 minutes
  2. Configure a Language Model — Set up OpenAI, Anthropic, or local models
  3. Extract Structured Data — The complete optimization workflow with a Pydantic model
  4. Extract Free-form Text — Text output without a schema
  5. Optimize with Prompt Templates — Dynamic prompts with placeholders

What You'll Build

  • A working extraction pipeline in minutes
  • Optimized prompts tailored to your data
  • Deployed prompters for production use
  • Extraction from text, images, and PDFs

After Tutorials

Once you've completed the tutorials, move to: