DSPy is a Python framework for building and optimising language-model programs with reusable modules.
The framework describes model tasks using structured signatures with defined inputs and outputs.
The project provides examples of defining model tasks and using evaluation results to tune prompts and program behaviour.
