Skip to content
/ dspy Public
forked from stanfordnlp/dspy

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

License

Notifications You must be signed in to change notification settings

cwpdntm/dspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤝🎓 𝗗𝗦𝗣: 𝗗EMONSTRATE–𝗦EARCH–𝗣REDICT

A framework for composing retrieval models and language models into powerful pipelines that tackle knowledge-intensive tasks.

💾 Installation

pip install .

🏃 Getting Started

Our intro notebook provides examples of five "multi-hop" question answering programs of increasing complexity written in DSP.

Once you go through the notebook, you'll be ready to create your own DSP pipelines!

✍️ Reference

If you use DSP 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

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.1%
  • Jupyter Notebook 25.0%
  • MDX 13.0%
  • TypeScript 1.4%
  • CSS 0.3%
  • HTML 0.2%