aws-appsync-community icon indicating copy to clipboard operation
aws-appsync-community copied to clipboard

Increase aws appsync time out.

Open Boniqx opened this issue 2 years ago • 1 comments

The docs tells us that we can do an asynchronous request for appsync. But I am building a web app with LLMs with langchain agents. Which takes almost a minute to load. Is there a way to increase the waiting time for this requests? Or should I just move away from appsync and use a separate backend which makes my codebase a too convuluted.

Boniqx avatar Jan 30 '24 15:01 Boniqx

hey, because LLM responses can take a very long time, we recommend using subscriptions on your client to receive updates as they occur.

the following articles may help:

  • https://aws.amazon.com/blogs/mobile/connect-aws-bedrock-large-language-models-to-enterprise-knowledge-databases-and-apis/
  • https://aws.amazon.com/blogs/mobile/create-a-fullstack-sample-web-app-powered-by-amazon-bedrock/

onlybakam avatar Feb 06 '24 18:02 onlybakam