DSPy: The framework for programming—not prompting—language models
Python
Adding back typos in signatures for signature_opt_bayesian for consistency, before merging PR
Omar Khattab630bf9712494
diff --git a/dspy/teleprompt/signature_opt_bayesian.py b/dspy/teleprompt/signature_opt_bayesian.pyindex ad311050c..e91b60faa 100644--- a/dspy/teleprompt/signature_opt_bayesian.py+++ b/dspy/teleprompt/signature_opt_bayesian.py@@ -81,7 +81,7 @@ class ObservationSummarizer(dspy.Signature):class DatasetDescriptor(dspy.Signature):("""Given several examples from a dataset please write observations about trends that hold for most or all of the samples. """- """Some areas you may consider in your observations: topics, content, syntax, conciseness, etc. """+ """Some areas you may consider in your observations: topics, content, syntax, conciceness, etc. """"""It will be useful to make an educated guess as to the nature of the task this dataset will enable. Don't be afraid to be creative""")examples = dspy.InputField(desc="Sample data points from the dataset")@@ -90,7 +90,7 @@ class DatasetDescriptor(dspy.Signature):class DatasetDescriptorWithPriorObservations(dspy.Signature):("""Given several examples from a dataset please write observations about trends that hold for most or all of the samples. """"""I will also provide you with a few observations I have already made. Please add your own observations or if you feel the observations are comprehensive say 'COMPLETE' """- """Some areas you may consider in your observations: topics, content, syntax, conciseness, etc. """+ """Some areas you may consider in your observations: topics, content, syntax, conciceness, etc. """"""It will be useful to make an educated guess as to the nature of the task this dataset will enable. Don't be afraid to be creative""")examples = dspy.InputField(desc="Sample data points from the dataset")