Closed mBerezovskyy closed 12 months ago
Could you please try installing with openai==0.28.1
and let me know if this fixes the issue?
The newer versions from openai makes some breaking changes and that is causing the issue. Thanks for flagging this. We will fix it soon.
Hey @mBerezovskyy, This should be fixed now with our latest dspy-ai package release. You do not have to make any changes in the colab notebook and can run as-is. Please re-open the ticket if you are facing any difficulty.
Once again, Thanks for reporting!
@lawliet19189 Thanks! I can confirm that it is working now
running into the same error from https://github.com/cgpotts/cs224u/ with hw_openqa.ipynb adding the openai api version seems to have solved it.
When running colab example
the first cell, containing the below code results in
Running
pip install -U openai
does not help. Does the DSPy relies on some concrete openai library version or am I missing something?