aws-appsync-community
aws-appsync-community copied to clipboard
Increase aws appsync time out.
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.
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/