Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

added arXiv paper

Arnav Singhvi451bf8ec5972
diff --git a/README.md b/README.md
index f8b18b26d..b3540c875 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,9 @@
## DSPy: _Programming_—not prompting—Foundation Models
+[Paper - DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines
+](https://arxiv.org/abs/2310.03714)
+
[<img align="center" src="https://colab.research.google.com/assets/colab-badge.svg" />](https://colab.research.google.com/github/stanfordnlp/dspy/blob/main/intro.ipynb)
@@ -359,9 +362,15 @@ The **DSPy** logo is designed by **Chuyi Zhang**.
To stay up to date or learn more, follow [@lateinteraction](https://twitter.com/lateinteraction) on Twitter.
-If you use DSPy (or DSPv1) in a research paper, please cite our work as follows:
+If you use DSPy or DSP in a research paper, please cite our work as follows:
```
+@article{khattab2023dspy,
+ title={DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines},
+ author={Khattab, Omar and Singhvi, Arnav and Maheshwari, Paridhi and Zhang, Zhiyuan and Santhanam, Keshav and Vardhamanan, Sri and Haq, Saiful and Sharma, Ashutosh and Joshi, Thomas T. and Moazam, Hanna and Miller, Heather and Zaharia, Matei and Potts, Christopher},
+ journal={arXiv preprint arXiv:2310.03714},
+ year={2023}
+}
@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},
@@ -371,9 +380,11 @@ If you use DSPy (or DSPv1) in a research paper, please cite our work as follows:
```
-You can also read more about the evolution of the framework from Demonstrate-Search-Predict (DSP v1) to DSPy:
+You can also read more about the evolution of the framework from Demonstrate-Search-Predict to DSPy:
* [**Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP**](https://arxiv.org/abs/2212.14024.pdf) (Academic Paper, Dec 2022)
* [**Introducing DSP**](https://twitter.com/lateinteraction/status/1617953413576425472) (Twitter Thread, Jan 2023)
* [**Releasing the DSP Compiler (v0.1)**](https://twitter.com/lateinteraction/status/1625231662849073160) (Twitter Thread, Feb 2023)
* [**Releasing DSPy, the latest iteration of the framework**](https://twitter.com/lateinteraction/status/1694748401374490946) (Twitter Thread, Aug 2023)
+* [**DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines**](https://arxiv.org/abs/2310.03714) (Academic Paper, Oct 2023)
+
diff --git a/docs/DSPy-preprint.pdf b/docs/DSPy-preprint.pdf
index 45dd45844..df4b2e025 100644
Binary files a/docs/DSPy-preprint.pdf and b/docs/DSPy-preprint.pdf differ