AttributeError: module 'openai' has no attribute 'error'

this solved my problem:
langchain==0.0.316
openai==0.28.1

I hope that it could help you guys too :smiley:

2 Likes