Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The code content about openai api has expired. #12

Open
ck567-wqm opened this issue Jan 9, 2024 · 4 comments
Open

The code content about openai api has expired. #12

ck567-wqm opened this issue Jan 9, 2024 · 4 comments

Comments

@ck567-wqm
Copy link

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
Copy link

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

@Beyond0128
Copy link

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
Copy link
Author

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
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants