DSPy: The framework for programming—not prompting—language models
Python
Update README.md
Omar Khattab78270c0cddf2
diff --git a/README.md b/README.mdindex beeef847b..821b1655c 100644--- a/README.md+++ b/README.md@@ -16,6 +16,8 @@**Documentation:** [DSPy Docs](https://dspy-docs.vercel.app/)+[](https://pepy.tech/project/dspy-ai) [](https://pepy.tech/project/dspy-ai)+----**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.