Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

[TYPO] Update tweet_metric.py

Christopher Akiki06a1ecd2159e
diff --git a/testing/tasks/tweet_metric.py b/testing/tasks/tweet_metric.py
index 2e237d0c2..ea51d7167 100644
--- a/testing/tasks/tweet_metric.py
+++ b/testing/tasks/tweet_metric.py
@@ -39,7 +39,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."""
@@ -145,4 +145,4 @@ class TweetMetricTask(BaseTask):
def get_metric(self):
return self.metric
-
\ No newline at end of file
+