VoxPoser icon indicating copy to clipboard operation
VoxPoser copied to clipboard

The code content about openai api has expired.

Open ck567-wqm opened this issue 1 year ago • 4 comments

The API provided by OpenAI for calling GPT has been updated in many versions. After experimentation, it has been found that the code for calling GPT cannot run correctly, whether it is the latest version of OpenAI library or any previous version of OpenAI library.

The problem mainly occurs in two places:

  1. openai.error

  2. Openai.ChatCompletion

I am currently trying to migrate to the latest version of the OpenAI library. Good luck!!

ck567-wqm avatar Jan 09 '24 03:01 ck567-wqm

I also meet this problem. Do you have a solution now? @ck567-wqm

DynamicPoet avatar Jan 24 '24 08:01 DynamicPoet

I have the same questions about the code, maybe we can have a further communication by email ^_^ @ck567-wqm @DynamicPoet . My email is [email protected]~ I really hope for a happy communication

Beyond0128 avatar Jan 25 '24 02:01 Beyond0128

I also meet this problem. Do you have a solution now? @ck567-wqm

I have the same questions about the code, maybe we can have a further communication by email ^_^ @ck567-wqm @DynamicPoet . My email is [email protected]~ I really hope for a happy communication

@DynamicPoet @Beyond0128

哈哈哈,我看了你们的主页,你们两个好像是来自浙江大学和同济大学的朋友,正好我也是中国的深圳大学的同学,那我就用中文回答吧。 经过我和我同学的讨论,我已经解决了此问题,然而解决办法并不是重写代码,因为这涉及到额外的工作量,我们选择将openai库的版本回调到0.28.0,并使用了新的gpt api key来解决问题。

如果你们还有什么新的问题,可以与我邮件讨论,我的邮箱地址是[email protected]。祝你们好运。

ck567-wqm avatar Jan 25 '24 05:01 ck567-wqm

I also meet this problem. Do you have a solution now? @ck567-wqm

I have the same questions about the code, maybe we can have a further communication by email ^_^ @ck567-wqm @DynamicPoet . My email is [email protected]~ I really hope for a happy communication

@DynamicPoet @Beyond0128

哈哈哈,我看了你们的主页,你们两个好像是来自浙江大学和同济大学的朋友,正好我也是中国的深圳大学的同学,那我就用中文回答吧。 经过我和我同学的讨论,我已经解决了此问题,然而解决办法并不是重写代码,因为这涉及到额外的工作量,我们选择将openai库的版本回调到0.28.0,并使用了新的gpt api key来解决问题。

如果你们还有什么新的问题,可以与我邮件讨论,我的邮箱地址是[email protected]。祝你们好运。

小哥你好,我按照你说的改到0.28.0,但还是报错。使用了新的gpt api key是指怎么操作呢。期望能加微信进行交流(drilistbox)

drilistbox avatar Apr 26 '24 06:04 drilistbox