DSPy: The framework for programming—not prompting—language models
Python
Merge branch 'main' into data-synthesis-v2
Herumb Shandilya59f4f9e67310
diff --cc dspy/experimental/synthesizer.pyindex 71490185e,a66bf4d2b..f409c6530--- a/dspy/experimental/synthesizer.py+++ b/dspy/experimental/synthesizer.py@@@ -3,9 -2,12 +3,9 @@@ import randofrom datasets import Datasetfrom tqdm import tqdm, trange- from typing import List, Union, Tuple, Mapping++from typing import List, Union, Mapping-import dspy---def format_examples(examples: List[dspy.Example]):+def format_examples(examples: List[dspy.Example]) -> str:if isinstance(examples, str):return examples