Back to Resources
🧠

DSPy

LLMs

Programming framework for self-improving LLM pipelines.

19kstars1.5kforksPython

About

DSPy replaces hand-written prompts with composable modules that can be automatically optimized using labeled data, making LLM pipelines more robust and maintainable.

Key Features

  • Auto-optimization
  • Composable modules
  • Few-shot learning
  • Prompt tuning

Tags

Prompt optimizationAgentsRAGStanford

Related Resources