Skip to content

Commit e798f4a

Browse files
authored
Refactor root init file (#8385)
* refactor root init file * address comment
1 parent 2787453 commit e798f4a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

dspy/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,16 @@
1414
from dspy.utils.usage_tracker import track_usage
1515

1616
from dspy.dsp.utils.settings import settings
17+
from dspy.dsp.colbertv2 import ColBERTv2
1718
from dspy.clients import DSPY_CACHE
19+
from dspy.__metadata__ import __name__, __version__, __description__, __url__, __author__, __author_email__
1820

1921
configure_dspy_loggers(__name__)
2022

21-
from dspy.dsp.colbertv2 import ColBERTv2
22-
# from dspy.dsp.you import You
23-
23+
# Singleton definitions and aliasing
2424
configure = settings.configure
2525
context = settings.context
2626

2727
BootstrapRS = BootstrapFewShotWithRandomSearch
2828

29-
from .__metadata__ import __name__, __version__, __description__, __url__, __author__, __author_email__
30-
3129
cache = DSPY_CACHE

0 commit comments

Comments
 (0)