DSPy: The framework for programming—not prompting—language models
Python
(feature) Adding support for Mistral AI's API
Franck Stephane Ndzomga822de0e71dd3
diff --git a/dsp/modules/lm.py b/dsp/modules/lm.pyindex e382d4c50..248f4eb35 100644--- a/dsp/modules/lm.py+++ b/dsp/modules/lm.py@@ -53,7 +53,7 @@ class LM(ABC):x['response'],),)- elif provider == "mistral" or provider == "mistral":+ elif provider == "mistral":printed.append((prompt,