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

[Feature Request]: Pagination for list of assistants. Excessive Data Loading in Assistant Page Causing Severe Lag #4323

Open
1 task done
ZZM-user opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working Feature

Comments

@ZZM-user
Copy link

ZZM-user commented Jan 2, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

none

RAGFlow image version

v0.15.1 full

Other environment information

No response

Actual behavior

I’m encountering a significant performance issue on the Assistant page. It seems that the API is querying all available data in one go with each request, often resulting in the retrieval of tens of megabytes of content at once. This is causing severe lag in the browser, to the point where the page becomes almost unusable.

Expected behavior

I suggest implementing proper pagination and lazy loading, so that data is fetched in smaller chunks as needed, rather than retrieving everything at once. This would greatly enhance the page's performance and responsiveness.

Steps to reproduce

1. Add several hundred assistants to the system, even if the conversation data for each assistant is minimal.
2. Switch to the Assistant page.

Additional information

No response

@ZZM-user ZZM-user added the bug Something isn't working label Jan 2, 2025
@KevinHuSh KevinHuSh changed the title [Bug]: Excessive Data Loading in Assistant Page Causing Severe Lag [Feature Request]: Pagination for list of assistants. Excessive Data Loading in Assistant Page Causing Severe Lag Jan 3, 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 Feature
Projects
None yet
Development

No branches or pull requests

2 participants