We're in the process of developing email notifications to inform users about issues with their prompts or OpenAI accounts. You may have encountered a 500 error when submitting form in a widget. This could be due to a couple of reasons:
1. Your OpenAI account may have reached its usage limit. To resolve this, you need to add a valid payment method or credits to your account.
2. The combined length of your tool's prompt and response might be exceeding the token limit of the underlying model. Consider switching to a model with a longer context capacity, like GPT-3.5 16K, or try reducing the text in your prompt. If you're incorporating data from an external source, ensure there are enough tokens allotted for the data source, the prompt, and the anticipated AI response. Also, avoid instructing the prompt to respond with a specific token or character limit as this can cause throttling and timeouts.
If this error is a recurring issue, it's likely due to one of these two reasons, as we haven't experienced any system downtime. We are actively working on implementing more sophisticated alert systems to keep you informed about any issues with your tools.