This section will introduce DSPy briefly.
If you're looking for DSP (v1), it's on a branch.
pip install dspy-ai
Our intro notebook.
in terms of things DSPy can do for you (or allows you to do easily)
and code examples for a flavor of the abstraction and ergonomics.
Follow @lateinteraction on Twitter.
OLD stuff:
You can get an overview via our Twitter threads:
- Introducing DSP (Jan 24, 2023)
- Releasing the DSP Compiler (v0.1) (Feb 13, 2023)
And read more in the academic paper:
If you use DSPy (or DSPv1) in a research paper, please cite our work as follows:
@article{khattab2022demonstrate,
title={Demonstrate-Search-Predict: Composing Retrieval and Language Models for Knowledge-Intensive {NLP}},
author={Khattab, Omar and Santhanam, Keshav and Li, Xiang Lisa and Hall, David and Liang, Percy and Potts, Christopher and Zaharia, Matei},
journal={arXiv preprint arXiv:2212.14024},
year={2022}
}