当前位置:首页 » 《关于电脑》 » 正文

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

15 人参与  2024年10月11日 10:02  分类 : 《关于电脑》  评论

点击全文阅读


题意:访问 Python 中 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 


点击全文阅读


本文链接:http://m.zhangshiyu.com/post/170405.html

<< 上一篇 下一篇 >>

  • 评论(0)
  • 赞助本站

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

关于我们 | 我要投稿 | 免责申明

Copyright © 2020-2022 ZhangShiYu.com Rights Reserved.豫ICP备2022013469号-1