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

Potential Performance Issue: Repeatedly Adding DataFrames to DuckDB During Chat and Follow-up #1598

Open
DoofenshmirtzLabs opened this issue Feb 10, 2025 · 0 comments

Comments

@DoofenshmirtzLabs
Copy link

During code review, I've identified a potential performance bottleneck in the chat and followup functions. Both functions add DataFrames to DuckDB every time a user sends a query. This is done within the queryexecution step. While this approach functions, it raises concerns about potential performance degradation, particularly with longer conversations or larger DataFrames. I have not personally observed this performance degradation, but I'm raising this issue as a preventative measure based on my understanding of database operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant