dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Dspy.utils is routing to dspy.signatures.utils

Open serena-ruan opened this issue 3 months ago • 0 comments

Seems from the latest release when we use dspy.utils, it's actually referring to module dspy.signatures.utils instead of dspy.utils, this is a bit confusing. Repro:

>>> import dspy
>>> dspy.utils
<module 'dspy.signatures.utils' from '/Users/serena.ruan/miniconda3/envs/mlflow/lib/python3.9/site-packages/dspy/signatures/utils.py'>

In order to use some stuff from dspy.utils we have to use from dspy.utils import ...

serena-ruan avatar Oct 28 '24 07:10 serena-ruan