Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

[TYPO] Update tweet.py

Christopher Akiki677f5071be37
diff --git a/testing/tasks/tweet.py b/testing/tasks/tweet.py
index ef3277ed0..aeeddc6a7 100644
--- a/testing/tasks/tweet.py
+++ b/testing/tasks/tweet.py
@@ -36,7 +36,7 @@ class MultiHopTweet(dspy.Module):
context += self.retrieve(query).passages
return dspy.Prediction(context=context, answer=self.generate_answer(context = context , question = question).answer)
-# Define the signature for autoamtic assessments.
+# Define the signature for automatic assessments.
class Assess(dspy.Signature):
"""Assess the quality of a tweet along the specified dimension."""
@@ -107,4 +107,4 @@ class TweetTask(BaseTask):
def get_metric(self):
return self.metric
-
\ No newline at end of file
+