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

Large amounts of files uploaded but response is SLOW #316

Open
dezhouc2 opened this issue May 16, 2024 · 7 comments
Open

Large amounts of files uploaded but response is SLOW #316

dezhouc2 opened this issue May 16, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@dezhouc2
Copy link

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!

@jeremylatorre
Copy link
Contributor

Similar to what I experienced #305

@statefb
Copy link
Contributor

statefb commented May 16, 2024

Do you have any public files that can be used to reproduce the issue?

@dezhouc2
Copy link
Author

Similar to what I experienced #305

Have you resolved this issue? Any technique or thought? thank you

@dezhouc2
Copy link
Author

Do you have any public files that can be used to reproduce the issue?

I can provide some files that are public used such as the one in the attachment. Most of my files are internal used which not public (sorry for that). Anyways, for example, once you uploaded 20 files and each has more than 200 pages. Whenever you ask a question or simple conception, the response from knowledge database is extremely SLOW.

PCI-DSS-v3_2_1-ROC-Reporting-Template.pdf

@jeremylatorre
Copy link
Contributor

Similar to what I experienced #305

Have you resolved this issue? Any technique or thought? thank you

No, not yet. But my thought was about the cold start from the lambda in NodeJS CustomHandler. I have to try provisioned concurrency and see if it fixes my problem.
For me the problem appears only on the first question, then if you you don't stop asking questions, it's only taking 5s maximum for the next ones

@statefb
Copy link
Contributor

statefb commented May 18, 2024

NodeJS CustomHandler

May I ask you which custom handler you are reffering to?

@statefb statefb added the bug Something isn't working label May 20, 2024
@jeremylatorre
Copy link
Contributor

Lambda was a wrong lead, most-likely related to the search in vector database
/conversation/related-documents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants