anyone know how to make chatgpt wait longer for th...
# 06-technical-discussion
p
anyone know how to make chatgpt wait longer for the response from a plugin? I’m using langchain summarization behind the scene and it takes about 5 mins to process, but chatgpt seems to expect the response in like 2 mins or so
c
I'm not sure how to do that, but you could design your api to be a sort job runner. /create-summarization-job • responds with a job id, maybe also pending jobs or a estimated wait time. /list-jobs • started, completed /job/{id} • returns a job's data (including results if available) then the user could go
Copy code
User: can you summarize this?
....
Agent: sure! here is your job id
User: Great. Can you check on my job?
Agent: Here is your summarization:
m
+1 to what Colin said; additionally, IMO in general chat interfaces aren't ideal for any long-running jobs – the entire magic of chatgpt is the back-and-forth between man and machine
p
oooooh good point - thanks for the pointers!!