Jul 10, 2023
Try pip install --upgrade openai
Could be something about your current installed versions of Python, OpenAI, and/or LangChain
https://stackoverflow.com/questions/75490436/what-causes-this-attribute-error-encountered-when-implementing-langchains-opena