GPT 4 Not working

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 8 replies, 2 voices, and was last updated 1 year, 8 months ago by Szabi – CodeRevolution.

Viewing 8 reply threads
  • Author
    Posts
    • #7094


      Rowland
      Participant
      Post count: 3

      Hi when I try to generate text using GPT 4 it’s saying “stdClass Object ( [message] => This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?”

       

      Yes, I do have access to GPT 4.

    • #7095


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      First of all, thank you for your purchase.

      Can you send me, please, temporary admin login credentials to your WordPress site, so I can check this issue? Send it, please, to my email address: kisded@yahoo.com

      I still don’t have access to GPT-4 API, so I was not able to test this feature yet, should be able to make it work while checking your site. Thank you.

      Regards, Szabi – CodeRevolution.

    • #7097


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      Please update the plugin to v1.2.6.1 – it should solve this issue.

      Let me know if it worked.

      Regards.

    • #7110


      Rowland
      Participant
      Post count: 3

      Tried it, seems to only work for my title and sections. I also can’t get anything to run in bulk:

      These are a sample of my logs

      [20-Mar-2023 01:49:35 UTC] Retrying (1) API call after choices failure: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx</center> </body> </html>
      [20-Mar-2023 01:49:44 UTC] Rule ID 1 succesfully run! 1 posts created!
      [20-Mar-2023 13:01:33 UTC] Empty processed sections prompt. Nothing to do.
      [20-Mar-2023 13:10:28 UTC] Retrying (1) chat API call after choices failure: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx</center> </body> </html>
      [20-Mar-2023 13:15:19 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 13:27:39 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 13:34:32 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 13:34:47 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }

       

      I will send admin creds to you.

    • #7112


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      I did not get the login info from your site (checked also spam).

      However, the errors you mention above are OpenAI related issues, this is probably because the GPT-4 API is still in open beta, and it seems to still return errors in some cases. I hope this will be solved soon, when they release the model for public usage. Please check details on this error here (it is a generic error, returned also for other models): https://community.openai.com/t/openai-api-error-the-server-had-an-error-while-processing-your-request-sorry-about-that/53263/8

      Regards.

    • #7114


      Rowland
      Participant
      Post count: 3

      I resent it, I understand GPT 4 would be giving some issues. But also not getting anything created from bulk using 3.5. Don’t know what’s wrong

      [20-Mar-2023 13:15:19 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 13:27:39 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 13:34:32 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 13:34:47 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 14:19:33 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }
      [20-Mar-2023 15:17:18 UTC] Retrying (1) chat API call after type failure: { “error”: { “message”: “The server had an error while processing your request. Sorry about that!”, “type”: “server_error”, “param”: null, “code”: null } }

       

    • #7119


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      It seems that they have a throttling on GPT-4 API right now, to make it work, I had to set -> ‘Main Settings’ -> ‘General Settings’ -> ‘Delay Between Multiple API Requests:’ -> 500

      This will wait 500 milliseconds between each API request. Now it should work, please check.

      Let me know.

    • #7120


      Rowland
      Participant
      Post count: 3

      It does work to generate the title and an outline in Single Post. But neither GPT 4 or GPT 3.5 works in Bulk posts.

      I get this error:
      <div>
      <div>[20-Mar-2023 16:56:17 UTC] Retrying (1) chat API call after choices failure: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx</center> </body> </html></div>
      </div>
      <div></div>
      <div>I haven’t been able to create anything in bulk yet with and idk why. Can you test creating some drafts using the rules I’ve created?</div>

    • #7122


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      I checked and OpenAI’s API services were down recently, they fixed it now, please check if the issue is solved.

      The “502 Bad Gateway” error is clearly coming from OpenAI’s part: https://community.openai.com/t/bad-gateway-text-davinci-002/22662

      Regards.

Viewing 8 reply threads

The topic ‘GPT 4 Not working’ is closed to new replies.