(no commit message)

This commit is contained in:
2025-12-20 17:25:45 -08:00
parent 604479613b
commit 4332346d9b

View File

@@ -4,8 +4,8 @@ import dspy
class Summarizer(PrecompiledProgram):
def __init__(self, **kwargs):
self.predict = dspy.Predict("input -> summary")
super().__init__(**kwargs)
self.predict = dspy.Predict("input -> summary")
def forward(self, input: str) -> str:
return self.predict(input=input)