Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Prevent import reorder

Thomas D Ahlee16373be5b28
diff --git a/dspy/__init__.py b/dspy/__init__.py
index a7bc5152a..55dd6b6ff 100644
--- a/dspy/__init__.py
+++ b/dspy/__init__.py
@@ -1,14 +1,13 @@
import dsp
from dsp.modules.hf_client import ChatModuleClient, HFClientSGLang, HFClientVLLM, HFServerTGI
-# Functional must be imported after primitives, predict and signatures
-from .functional import *
from .predict import *
from .primitives import *
from .retrieve import *
from .signatures import *
-####
+# Functional must be imported after primitives, predict and signatures
+from .functional import * # isort: skip
settings = dsp.settings