Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Move ensemble import to teleprompt (#542)

Isaac Milleree646535c232
diff --git a/dspy/teleprompt/__init__.py b/dspy/teleprompt/__init__.py
index 61425e5b9..a1088f2df 100644
--- a/dspy/teleprompt/__init__.py
+++ b/dspy/teleprompt/__init__.py
@@ -1,4 +1,5 @@
from .bootstrap import *
+from .ensemble import *
from .finetune import *
from .knn_fewshot import *
from .random_search import *
diff --git a/tests/teleprompt/test_ensemble.py b/tests/teleprompt/test_ensemble.py
index 292176af4..54ca2708d 100644
--- a/tests/teleprompt/test_ensemble.py
+++ b/tests/teleprompt/test_ensemble.py
@@ -1,6 +1,6 @@
import pytest
import dspy
-from dspy.teleprompt.ensemble import Ensemble
+from dspy.teleprompt import Ensemble
class MockProgram(dspy.Module):