Error connecting Botpress with ChatGPT Assistants
# 🤝help
s
We've created dozens of Botpress bots that connect to ChatGPT Assistants, but today we are unable to create any new ones -- they continually return "Sorry, an error occurred. Please try again later." (See screenshot.) Some details: - The assistants work fine in the ChatGPT Playground - We are creating the new Botpress bot, then hooking them up with the asst ID and the OpenAI secret key - This setup process goes fine, but then interacting with the bot returns "Sorry, an error occurred." - I'm attaching a screenshot of the log here. - We have tried making the ChatGPT Assistants progressively simpler; the current one simply outputs "hello world" - Both Botpress and OpenAI accounts are up to date and fully paid, with plenty of room left on all quotas (monthly spend, bot limit, etc.) Hoping someone can help! https://cdn.discordapp.com/attachments/1252383785287417926/1252383785706590379/setup.png?ex=667204ca&is=6670b34a&hm=94b55f311ab961af9c95942bf82e191aa8d0e188c3620373faf10543e3278eaf& https://cdn.discordapp.com/attachments/1252383785287417926/1252383786092593174/log.png?ex=667204ca&is=6670b34a&hm=cbd6bec85bc80e33810012f520925d7594b17006b766645d29639dca4ab16abc&
I finally found the problem in this page: https://community.openai.com/t/request-failed-with-status-code-400/39242 The problem is the "Temperature" setting in the OpenAI assistant. I had it set to 1, which threw the error -- changing it to 1.3 fixed it. Logging it here in case it helps someone in the future.
This broke again, so apparently the temperature change didn't fix it. The problem is definitely on OpenAI's side. Using the 4o model seems to break it, while switching to the 4-turbo model seems to be more stable and works correctly with Botpress.