openai库版本是否有要求
Brought to you by:
xjfkkk
Originally created by: chenhengzh
例行检查
问题描述
已部署好oneapi,并且可正常调用。但在部分需要使用旧版本openai库(例如0.28)的项目中调用oneapi时会报错
'Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'
猜测是oneapi对openai库的版本有要求
复现步骤
安装0.28版本openai库,并用 response = openai.ChatCompletion.create({"messages": messages,raw_request})
预期结果
'Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'
我的问题
请问oneapi是否对openai库的版本有要求,如果有,支持哪些版本?
Originally posted by: igophper
这个看起来像是网络问题
Originally posted by: chenhengzh
但是新版本库可以正常访问