dspy
dspy copied to clipboard
Dspy.utils is routing to dspy.signatures.utils
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 ...