Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB Item size to update has exceeded the maximum allowed size #1776

Open
nchan1994 opened this issue Jan 22, 2025 · 0 comments
Open

DynamoDB Item size to update has exceeded the maximum allowed size #1776

nchan1994 opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working data layer Pertains to data layers. needs-triage

Comments

@nchan1994
Copy link

nchan1994 commented Jan 22, 2025

Describe the bug
Have set up a DynamoDB as data source with S3.
Normal messages without uploading files works just fine.

When uploading an image of any size, the current DynamoDB package in Chainlit tries to save the img file bytes content along with the user message into DynamoDB table, triggering a Boto3 DynamoDB Client error.

To Reproduce
Steps to reproduce the behavior:

*After setting up DynamoDB table and S3, and configuring Chainlit App to leverage those as data source.

  1. Start a new chat
  2. Click on Attachments
  3. Upload file (png/jpeg) of any size (e.g. 500MB)
  4. Type a prompt
  5. Send
  6. Check terminal for Boto3 error

Expected behavior
Expected is that the DynamoDB should put_item of the user message and the S3 URL of the image file uploaded.

Screenshots

Image

Image
Additional context
Add any other context about the problem here.

@dosubot dosubot bot added bug Something isn't working data layer Pertains to data layers. labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data layer Pertains to data layers. needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant