DSPy: The framework for programming—not prompting—language models
Python
fixup! 🎨 Rename arguments to be consistent with other frameworks
Christopher Teeaa5ac7b76ac5
diff --git a/dsp/modules/you.py b/dsp/modules/you.pyindex aed4bec13..d1f880a73 100644--- a/dsp/modules/you.py+++ b/dsp/modules/you.py@@ -58,7 +58,7 @@ class You(LM):data = response.json()# Update history- self.history.append({"prompt": prompt, "response": data, "mode": self.endpoint})+ self.history.append({"prompt": prompt, "response": data, "endpoint": self.endpoint})return data