Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

fix: more ruff fixes

KCaverly15d50c335da5
diff --git a/dsp/modules/azure_openai.py b/dsp/modules/azure_openai.py
index 05d3c6f35..6ff774e76 100644
--- a/dsp/modules/azure_openai.py
+++ b/dsp/modules/azure_openai.py
@@ -1,6 +1,6 @@
-import logging
import functools
import json
+import logging
from typing import Any, Literal, Optional, cast
import backoff
diff --git a/dsp/modules/gpt3.py b/dsp/modules/gpt3.py
index f2f74079e..bbcd1e3b6 100644
--- a/dsp/modules/gpt3.py
+++ b/dsp/modules/gpt3.py
@@ -1,7 +1,6 @@
-import logging
-
import functools
import json
+import logging
from typing import Any, Literal, Optional, cast
import backoff