I’m looking to join Slack to ChatGPT - so within a channel, you can chat to essentially a bot… it talks to ChatGPT, does its thing… then returns an answer
I was using Chat… but I was getting timeouts
and I think the timeouts was screwing with the flow, looping/getting stuck and churning my precious credits…
That sounds like what we do we !
We even have a blog post about this: Build your own chat bot with OpenAI and Pipedream
It’s great to hear that you’re looking to integrate Slack with ChatGPT using Pipedream. Since you’ve experienced timeouts with the Chat action, I would recommend checking out our blog post on building your own chatbot with OpenAI and Pipedream, which can guide you through the process and might provide insights into avoiding such issues. If you continue to face timeouts or looping issues, it might be beneficial to review the workflow’s logic to ensure that the response from OpenAI is being handled correctly and that there are no unintended triggers causing a loop. Additionally, you can implement safeguards to prevent excessive credit usage, such as setting up limits on the number of times a workflow can run within a certain timeframe. For further assistance with your workflow and to address any specific issues you’re encountering, please don’t hesitate to reach out to our support team at https://pipedream.com/support. They can provide more personalized help and investigate any underlying problems with your Pipedream setup.
OpenAI was having issues with their servers the couple last weeks. I think that might have been the cause for the timeouts
ok, will take a look… thank you!
if I use Create Completion, it works (although I’m not seeing the full prompt being returned and it doesnt error out). If I use Chat, it times out.
Can you paste here the workflow URL?
sent you a dm
Thanks, I changed the Slack text prop input to {{steps.chat.$return_value.choices[0].message.content}}
, and replayed the failed event and it worked successfully. I see that the workflow execution took 25 seconds, close to the default timeout of 30 seconds. You can raise the timeout setting in the workflow settings.
I’d advise using the Chat action step, especially since the other one is deprecated by OpenAI.
thank you, much appreciated!