Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Correction for lm.py

Omar Khattab8797a23cade5
diff --git a/dsp/modules/lm.py b/dsp/modules/lm.py
index a454cd5fe..3925e83b3 100644
--- a/dsp/modules/lm.py
+++ b/dsp/modules/lm.py
@@ -28,7 +28,7 @@ class LM(ABC):
def print_green(self, text: str, end: str = "\n"):
import dspy
- if dspy.settings.experimntal:
+ if dspy.settings.experimental:
return "\n\n" + "\x1b[32m" + str(text) + "\x1b[0m" + end
else:
return "\x1b[32m" + str(text) + "\x1b[0m" + end