DSPy: The framework for programming—not prompting—language models
Python
(style) adding docstrings to the synthetic data generator class
Franck Stephane Ndzomgab8f9da522bda
diff --git a/dspy/experimental/synthetic_data.py b/dspy/experimental/synthetic_data.pyindex 0b5d546d8..e806f6632 100644--- a/dspy/experimental/synthetic_data.py+++ b/dspy/experimental/synthetic_data.py@@ -8,7 +8,7 @@ import dspyclass DescriptionSignature(dspy.Signature):- """Custom signature to generate descriptions."""+ """Given a field name and an example value, predict a short text only description of what the field contains."""field_name = dspy.InputField(desc="name of a field")example = dspy.InputField(desc="an example value for the field")