DSPy: The framework for programming—not prompting—language models
Python
Update cohere.py
Connor Shorten86a73312c5df
diff --git a/dsp/modules/cohere.py b/dsp/modules/cohere.pyindex 6bfb609cd..401fe9546 100644--- a/dsp/modules/cohere.py+++ b/dsp/modules/cohere.py@@ -63,7 +63,7 @@ class Cohere(LM):self.kwargs = {"model": model,"temperature": 0.0,- "max_tokens": 150,+ "max_tokens": 2000,"p": 1,"num_generations": 1,**kwargs,