Skip to content

DSPy

Open source

Stanford NLP · LLM & RAG frameworks · Since 2023

Write LLM pipelines as code and let an optimizer tune the prompts.

Overview

Declarative framework that compiles LM programs and optimizes prompts and weights automatically.

  • Prompt optimizers
  • Signatures
  • Modules