AttributeError: module ‘openai’ has no attribute ‘error’

营赢盈英 2024-10-01 08:01:04 阅读 87

题意:访问 Python 中<code>openai模块的一个不存在的属性error

问题背景:

I'm running a Python summarizer in Azure ML that queries my gpt4 deployment for information. Everything was working fine until two days ago, when I decided to switch the output directory of the summaries to a different blob storage. Since then I am strangely getting the above error. My openAI version is 1.3.3 and langchain 0.0.301, and python 3.8. I have looked this up online and downgraded the version of openAI but it doesn't help. I've also tried the solutions here



声明

本文内容仅代表作者观点,或转载于其他网站,本站不以此文作为商业用途
如有涉及侵权,请联系本站进行删除
转载本站原创文章,请注明来源及作者。