DSPy: The framework for programming—not prompting—language models
Python
Test workflows
dilaraef033cb4cde4
diff --git a/dspy/predict/predict.py b/dspy/predict/predict.pyindex 63c015e0d..c17a60be0 100644--- a/dspy/predict/predict.py+++ b/dspy/predict/predict.py@@ -20,11 +20,11 @@ other object: '{sname}' != '{oname}'"""_ERR_MSG_SIGNATURE = """Structurally equivalent predictors must have the same \signature: '{sname}' != '{oname}'"""+#-------------------------------------------------------------------------------# Classes#--------------------------------------------------------------------------------class Predict(Module, Parameter):def __init__(self, signature, **config):self.stage = random.randbytes(8).hex()