[Feature Proposal] csv_query: Natural Language SQL Query Interface for CSV Files Using DuckDB #31932
NIrajan-15
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Proposing a new utility chain called csv_query that allows querying CSV files using natural language via DuckDB SQL.
This module would:
It supports reproducibility, and memory-efficient querying, and removes the need for manual database setup or Pandas integration.
Motivation
Current options in LangChain, such as CSVLoader and PandasAgent, either convert CSVs to documents or require them to be preloaded into memory. That limits use in production or real-time CSV analysis.
This feature targets:
Proposal (If applicable)
Create a new module csv_query:
Optional enhancements can include multiple backends (pandas, polars) and a tool wrapper for agent usage in the future.
Would love to open a PR if maintainers approve the idea.
Beta Was this translation helpful? Give feedback.
All reactions