DSPy: The framework for programming—not prompting—language models
Python
Update minimal-example.mdx
Omar Khattab7dbcd0c778f5
diff --git a/docs/docs/quick-start/minimal-example.mdx b/docs/docs/quick-start/minimal-example.mdxindex 3b4bee598..580e560fd 100644--- a/docs/docs/quick-start/minimal-example.mdx+++ b/docs/docs/quick-start/minimal-example.mdx@@ -61,7 +61,7 @@ config = dict(max_bootstrapped_demos=4, max_labeled_demos=4)# Optimize! Use the `gsm8k_metric` here. In general, the metric is going to tell the optimizer how well it's doing.teleprompter = BootstrapFewShot(metric=gsm8k_metric, **config)-optimized_cot = teleprompter.compile(CoT(), trainset=gsm8k_trainset, valset=gsm8k_devset)+optimized_cot = teleprompter.compile(CoT(), trainset=gsm8k_trainset)```## Evaluate