[Bug] Unable to import deduplicate from dsp.utils
What happened?
ImportError: cannot import name 'deduplicate' from 'dspy.utils' (/Users/paul.nonat/.pyenv/versions/3.11.5/lib/python3.11/site-packages/dspy/utils/init.py)
Steps to reproduce
dspy==2.6.11
DSPy version
2.6.11
@paul028 Thanks for reporting the issue! I don't remember we ever support this import, where did you get the code?
It's not a function intended for public usage, but you can import it as from dspy.dsp.utils import deduplicate
@paul028 Thanks for reporting the issue! I don't remember we ever support this import, where did you get the code?
It's not a function intended for public usage, but you can import it as
from dspy.dsp.utils import deduplicate
Thanks it worked!