DSPy: The framework for programming—not prompting—language models
Python
Update README.md
arnavsinghvi110394a0a34b6b
diff --git a/README.md b/README.mdindex 26cce3b1b..b81b81074 100644--- a/README.md+++ b/README.md@@ -14,6 +14,8 @@**Getting Started:** [<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)+**Documentation:** [DSPy Docs](https://dspy-docs.vercel.app/)+----**DSPy is a framework for algorithmically optimizing LM prompts and weights**, especially when LMs are used one or more times within a pipeline. To use LMs to build a complex system _without_ DSPy, you generally have to: (1) break the problem down into steps, (2) prompt your LM well until each step works well in isolation, (3) tweak the steps to work well together, (4) generate synthetic examples to tune each step, and (5) use these examples to finetune smaller LMs to cut costs. Currently, this is hard and messy: every time you change your pipeline, your LM, or your data, all prompts (or finetuning steps) may need to change.