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

It is not work when use gpt-4 model!ha ha #636

Closed
2 tasks done
HuangJT opened this issue Dec 11, 2023 · 4 comments
Closed
2 tasks done

It is not work when use gpt-4 model!ha ha #636

HuangJT opened this issue Dec 11, 2023 · 4 comments

Comments

@HuangJT
Copy link

HuangJT commented Dec 11, 2023

Verify latest release

  • I verified that the issue exists in the latest chatgpt release

Verify webapp is working

  • I verify that the ChatGPT webapp is working properly for this account.

Environment details

node.js version: v20.3.1

Describe the Bug

when I use model gpt-4,it always not work!

[hello@xxx temp]# npx chatgpt@latest --model gpt-4 "what is your GPT version?what time do your knowledge cutoff?"
 I am based on GPT-3, which is the latest version as of my knowledge cutoff in September 2021. 

And the bill at openAI console haved pay for gpt-4。It is so weird , until see the code
chatgpt-api.ts#L83

if (this._systemMessage === undefined) {
      const currentDate = new Date().toISOString().split('T')[0]
      this._systemMessage = `You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible.\nKnowledge cutoff: 2021-09-01\nCurrent date: ${currentDate}`
    }
@tedy5
Copy link

tedy5 commented Dec 13, 2023

Looks like this is not issue with this library but rather OpenAI disabled gpt4.

@Jakeroid
Copy link

Probably the issue should be closed.

@HuangJT
Copy link
Author

HuangJT commented Jan 16, 2024

the default systemMessage shoud not include “Knowledge cutoff: 2021-09-01”,this will make the chatgpt answer “I am based on GPT-3”。
chatgpt-api.ts#L83

Probably the issue should be closed.

@transitive-bullshit
Copy link
Owner

This project is undergoing a major revamp; closing out old issues as part of the prep process.

The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.

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