Skip to content

DSPy: The framework for programming—not prompting—foundation models

License

Notifications You must be signed in to change notification settings

valeriocardoso/dspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSPy: The Framework for Programming with Foundation Models

This section will introduce DSPy briefly.

If you're looking for DSP (v1), it's on a branch.

Installation

pip install dspy-ai

Getting Started

Our intro notebook.

Key Concepts

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.

📜 Reading More

Follow @lateinteraction on Twitter.

OLD stuff:

You can get an overview via our Twitter threads:

And read more in the academic paper:

Contributors

✍️ Reference

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}
}

About

DSPy: The framework for programming—not prompting—foundation models

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 80.7%
  • Jupyter Notebook 19.1%
  • Other 0.2%