Skip to content

Commit 2ec0b79

Browse files
authored
Update README.md
1 parent 4776f9b commit 2ec0b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
----
1717

18-
**DSPy** is a framework for developing high-quality LM systems for complex tasks. To do that without DSPy, you have to: (1) break down problems into steps, (2) prompt LMs well for each step, (3) bootstrap synthetic data to improve quality, and (4) finetune smaller LMs to cut costs. Composing these into multi-step pipelines is hard.
18+
**DSPy** is a framework for developing high-quality LM systems for complex tasks. To do that without DSPy, you have to: (1) break down problems into steps, (2) prompt LMs well for each step, (3) generate synthetic data to improve quality, and (4) finetune smaller LMs to cut costs. Composing these into the right multi-step pipelines is hard. DSPy offers you the tools to automate most of this, as long as you can define your high-level steps and metrics.
1919

2020
**DSPy** helps by separating the flow of your program (`module`s) from the parameters (prompt instructions, few-shot examples, and LM weights), which DSPy `optimizer`s can craft and tune if you give them an objective. This creates a systematic space of modular and trainable pieces, instead of hacky 'prompt engineering'. We draw on lessons from DNN frameworks like PyTorch. DSPy `modules` (or layers with parameters) replace 'prompting tricks'. DSPy `optimizers` replace prompt hacking or one-off synthetic data generators.
2121

0 commit comments

Comments
 (0)