aws-samples / aws-samples/bedrock-chat
Large amounts of files uploaded but response is SLOW
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 535
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 10
Description
## Describe the bug
Sorry for the confusion, but this is not a bug. I have been using this knowledge database for a while. However, after uploading a large amount of files, the response time has become very slow, sometimes taking more than 10 seconds, which negatively impacts the user experience. In comparison, when a small amount of files are uploaded, the database responds much faster.
I'm wondering why this happens and how we (as users) can achieve quick responses even when a large number of files are uploaded.
Furthermore, the current maximum token limit is 4096. Would it be possible to increase the number of tokens?
Thank you very much!
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by reproducing the response-time difference between small and large uploads and tracing the response path and current 4096-token limit. Done should identify the cause and establish an agreed performance or token-limit change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python, typescript
- Domain
- ai, backend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100