Voiceflow PartnersVPVoiceflow Partners
Powered by
urgent-maroonU
Voiceflow Partners•3y ago•
1 reply
urgent-maroon

Responses slow when processing large batch of API calls on POST request to openAi gpt-4

We are using a Topic flow to process an image url.
The steps are:
We display an image from a url
We send the image as a POST to chat gpt for analysis
We display the analysis
When we run tests:
If we isolate the display image node, it occurs instantly. When we attach the display image node to the send POST request node, the image does not display for a while, then the POST request is instant.
Our guess is that Voiceflow is batching the responses until it has completed all the steps, then sending each response quickly.
How can we unbatch these responses so that the image displays immediately, then we inform the user to wait for analysis, then respond with the analysis when the POST call finishes?
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

API POST calls timing out
brilliant-orangeBbrilliant-orange / ❓┃ask-a-question
3y ago
Duplication of Content-Type when trying to send a API POST request
ShaqSShaq / ❓┃ask-a-question
6mo ago
test POST request API block
uncertain-scarletUuncertain-scarlet / ❓┃ask-a-question
2y ago
SOAP API Post Request (Cannot get response)
dry-scarletDdry-scarlet / ❓┃ask-a-question
2y ago