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

Latest gpt-4-1106-preview addition to the repo #315

Open
rikuddo91 opened this issue Nov 6, 2023 · 6 comments
Open

Latest gpt-4-1106-preview addition to the repo #315

rikuddo91 opened this issue Nov 6, 2023 · 6 comments

Comments

@rikuddo91
Copy link

rikuddo91 commented Nov 6, 2023

Would it be possible to add it to the script? It seems to be pretty faster then GPT-4 and 2x - 3x cheaper too. Also seems to be updated to have knowledge up to April 2023 as compared to 2021.
Also Dall-E v3 is also available now, which WAY better then Dall-E v2.

@krunchosg
Copy link

  1. goto .env and udpate your "OPENAI_GPT_MODEL=gpt-4-vision-preview"

  2. goto \whatsapp-chatgpt-master\src\handlers\dalle.ts... line 28 onwards replace the response:
    const response = await openai.createImage({
    model: "dall-e-3",
    prompt: prompt,
    n: 1,
    //size: aiConfig.dalle.size as CreateImageRequestSizeEnum,
    size: "1024x1024",
    response_format: "b64_json"
    });

@rikuddo91
Copy link
Author

  1. goto .env and udpate your "OPENAI_GPT_MODEL=gpt-4-vision-preview"

    1. goto \whatsapp-chatgpt-master\src\handlers\dalle.ts... line 28 onwards replace the response:
      const response = await openai.createImage({
      model: "dall-e-3",
      prompt: prompt,
      n: 1,
      //size: aiConfig.dalle.size as CreateImageRequestSizeEnum,
      size: "1024x1024",
      response_format: "b64_json"
      });

Thank you for that. DALL-E 3 is working fine, but the GPT-Model still seems to be GPT 3.5 or at least it refused to answer anything after September 2021 date by stating

My "knowledge" is based on data up to my last update in September 2021, and I generate responses based on patterns and information from that dataset.

@GreenerX
Copy link

GreenerX commented Feb 1, 2024

Same here, were you able to fix it or at least check that its actually using the right model?

@rikuddo91
Copy link
Author

Same here, were you able to fix it or at least check that its actually using the right model?

No, still stuck on 3.5.

@GreenerX
Copy link

GreenerX commented Feb 2, 2024

Same here, were you able to fix it or at least check that its actually using the right model?

No, still stuck on 3.5.

So managed to get Dalle-3 to work but my gpt is still saying it's cutoff is 2021 even though the usage page shows that it's actually using the new model.
Uploading IMG_9868.jpeg…

@GreenerX
Copy link

GreenerX commented Feb 2, 2024

IMG_9868

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

3 participants