aws-samples / serverless-pdf-chat

LLM-powered document chat using Amazon Bedrock and AWS Serverless
https://aws.amazon.com/blogs/compute/building-a-serverless-document-chat-with-aws-lambda-and-amazon-bedrock/
MIT No Attribution
228 stars 206 forks source link

Unzipped size must be smaller than 255174947 #51

Open stutimishra7 opened 3 months ago

stutimishra7 commented 3 months ago

CREATE_FAILED AWS::Lambda::Function GenerateResponseFunction Resource handler
returned message:
"Unzipped size must be
smaller than 255174947
bytes (Service: Lambda,
Status Code: 400,
Request ID: 713caf1a-
9c3e-40bc-a23c-
c2272ecda70c)"
(RequestToken: dd2e4d91- 9294-4397-c4a6-
1ac5e61aaad8,
HandlerErrorCode:
InvalidRequest)

moserda commented 1 month ago

Hey @stutimishra7 ,

have you added any additional requirements to backend/src/generate_response/requirements.txt or added any additional files into this directory? Could you also verify that you're getting this error with the latest version of this repo?