Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Run ruff linter

Connor Shortencf5a347a0283
diff --git a/dsp/modules/cohere.py b/dsp/modules/cohere.py
index 7d167f56f..5f0d7260e 100644
--- a/dsp/modules/cohere.py
+++ b/dsp/modules/cohere.py
@@ -1,4 +1,3 @@
-import math
from typing import Any, Optional
import backoff
@@ -86,7 +85,7 @@ class Cohere(LM):
"prompt": prompt,
"response": response,
"kwargs": kwargs,
- "raw_kwargs": raw_kwargs
+ "raw_kwargs": raw_kwargs,
})
return response