whatsapp-chatgpt icon indicating copy to clipboard operation
whatsapp-chatgpt copied to clipboard

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

Open rikuddo91 opened this issue 1 year ago • 6 comments

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.

rikuddo91 avatar Nov 06 '23 22:11 rikuddo91

  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" });

krunchosg avatar Dec 25 '23 17:12 krunchosg

  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.

rikuddo91 avatar Dec 25 '23 17:12 rikuddo91

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

GreenerX avatar Feb 01 '24 21:02 GreenerX

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.

rikuddo91 avatar Feb 01 '24 22:02 rikuddo91

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 avatar Feb 02 '24 01:02 GreenerX

IMG_9868

GreenerX avatar Feb 02 '24 01:02 GreenerX