⌛ Pipedream Error: Timeout or Out of Memory
If you run into an Out of Memory error, you can increase the workflow’s memory in the Settings menu for the workflow. Note that this will increase credit usage. You can learn how Pipedream’s credit model works here.
Timeout errors can happen more frequently, and they happen for two reasons.
Your audio file is very long
Whisper and/or ChatGPT is under heavy load and is responding slowly
By default, shared workflows are set to timeout after 300 seconds (5 minutes), which is the max timeout setting on Pipedream‘s free plans.
There are also a number of optimizations in the code to make it handle long files even within that timeout window. It’s been successfully tested with a 4-hour file!
That said, if you need longer timeouts, you can put them to 12.5 minutes if you upgrade to one of Pipedream’s paid plans.
Aside from that, you can tweak the following settings to get the workflow to handle longer files without timing out.
Choose fewer Summary Options.
The more you choose, the more ChatGPT has to write and the longer it’ll take to finish.Set Summary Density lower.
Set Summary Verbosity lower.
Set Audio File Chunk Size lower.
Additionally, ensure you’ve added billing details in your OpenAI account, and have generated a new API key after doing so. Keys generated during the trial period have restricted rate limits that counteract the optimizations in the code.