the gpt3.py file added the code :from openai.openai_object import OpenAObject
which seems to be used to constrain the response of openai.
However, openai_object has been removed after the 0.28.1 version of openai, and the openai version of dspy is limited to openai>=0.28.1,<2.0.0. There is no doubt that this code is not available after the version of openai>0.28.1.
I am very curious why this is done.
Looking forward to your reply,Thank you everyone 🙏
In the latest version of dspy 2.4.9,
the gpt3.py file added the code :
from openai.openai_object import OpenAObject
which seems to be used to constrain the response of openai.However, openai_object has been removed after the 0.28.1 version of openai, and the openai version of dspy is limited to openai>=0.28.1,<2.0.0. There is no doubt that this code is not available after the version of openai>0.28.1.
I am very curious why this is done.
Looking forward to your reply,Thank you everyone 🙏