Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

remove extra space

arnavsinghvi11cab9eb47b7fd
diff --git a/dspy/experimental/synthesizer.py b/dspy/experimental/synthesizer.py
index d23aa3059..771b12c98 100644
--- a/dspy/experimental/synthesizer.py
+++ b/dspy/experimental/synthesizer.py
@@ -41,7 +41,7 @@ class UnderstandTask(dspy.Signature):
)
class ExplainTask(dspy.Signature):
- """Analyze the provided set of datapoints carefully, and prepare a concise, comprehensible summary that captures the broad essence and purpose of the task these datapoints aim to address. Your summary should illuminate the general objective and the type of problem being solved, offering a clear picture of what the task entails at a high level. Avoid getting into the nuances of individual datapoints, specifics about models, examples, algorithms, or any intricate technicalities. Your explanation should serve to clarify the task's overall goal and its basic premise, without touching on methodologies or solutions."""
+ """Analyze the provided set of datapoints carefully, and prepare a concise, comprehensible summary that captures the broad essence and purpose of the task these datapoints aim to address. Your summary should illuminate the general objective and the type of problem being solved, offering a clear picture of what the task entails at a high level. Avoid getting into the nuances of individual datapoints, specifics about models, examples, algorithms, or any intricate technicalities. Your explanation should serve to clarify the task's overall goal and its basic premise, without touching on methodologies or solutions."""
examples = dspy.InputField(
prefix="Examples Datapoints:-",
@@ -225,4 +225,4 @@ class Synthesizer:
dataset.to_json(path_or_buf=path, **kwargs)
elif extention == "arrow" or extention == "hf":
- dataset.save_to_disk(path)
\ No newline at end of file
+ dataset.save_to_disk(path)