huangwl18 / VoxPoser

VoxPoser: Composable 3D Value Maps for Robotic Manipulation with Language Models
https://voxposer.github.io/
MIT License
523 stars 73 forks source link

The code content about openai api has expired. #12

Open ck567-wqm opened 8 months ago

ck567-wqm commented 8 months ago

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!!

DynamicPoet commented 7 months ago

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

Beyond0128 commented 7 months ago

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

ck567-wqm commented 7 months ago

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 williamyang0128@gmail.com~ I really hope for a happy communication

@DynamicPoet @Beyond0128

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

如果你们还有什么新的问题,可以与我邮件讨论,我的邮箱地址是2694448465@qq.com。祝你们好运。

drilistbox commented 4 months ago

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 williamyang0128@gmail.com~ I really hope for a happy communication

@DynamicPoet @Beyond0128

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

如果你们还有什么新的问题,可以与我邮件讨论,我的邮箱地址是2694448465@qq.com。祝你们好运。

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