DSPy: The framework for programming—not prompting—language models
Python
fix undefined attributes (#7916)
TomuHiratabe85b62a423d
diff --git a/dspy/dsp/utils/dpr.py b/dspy/dsp/utils/dpr.pyindex d4d18f84f..3f9531553 100644--- a/dspy/dsp/utils/dpr.py+++ b/dspy/dsp/utils/dpr.py@@ -5,9 +5,11 @@"""import unicodedata-+import copy+import loggingimport regex+logger = logging.getLogger(__name__)class Tokens:"""A class to represent a list of tokenized text."""