A natural language interface for querying datasets using LLMs
Project description
Query Bot
A web application that allows users to upload CSV files, execute queries, and download results.
Description
This project is built using FastAPI for the backend and HTML with Bootstrap for the frontend. Users can upload datasets, execute SQL queries, and interact with the data through a user-friendly interface.
Usage
- Start the FastAPI server and HTTP Server with the following command:
uv run https://raw.githubusercontent.com/prudhvi1709/localdatachat/refs/heads/main/app.py
Then, open your web browser and navigate to (http://localhost:8000) to access the Query Bot application. - Use the interface to upload CSV files, execute queries, and download results.
You can paste multiple paths separated by commas, and the paths should be without quotes. The application can accept the following file types:
- CSV
- .parquet
- SQLite .db
- .xlsx
- External MySQL databases from relational-data.org
File Structure
/querybot
│
├── app.py # The main Python application file
├── .env # Environment variables file
├── README.md # The project README file
├── static # Directory for static files
│ └── index.html # The main HTML file for the frontend
│ └── js # Directory for JavaScript files
│ └── script.js # JavaScript file
├── requirements.txt # The list of required Python packages
├── LICENSE # The project license file
Features
- Upload Files: Users can upload datasets (CSV, .parquet, SQLite .db, .xlsx, and external MySQL databases) through the web interface.
- Execute Queries: Users can execute SQL queries against uploaded datasets.
- Download Results: Users can download query results in a convenient format.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file querybot-0.1.4.tar.gz.
File metadata
- Download URL: querybot-0.1.4.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.27
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ddc97531725e37d185ce8df6e405f05f4e1f4a621300aa139dbd4d9d3c9229
|
|
| MD5 |
755717720c76b69532bbe899fbcd3ce9
|
|
| BLAKE2b-256 |
75537bac8019cc3ad9f1493cbb15ac4697e99e44787a9a0a00d575ff3f106cee
|
File details
Details for the file querybot-0.1.4-py3-none-any.whl.
File metadata
- Download URL: querybot-0.1.4-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.27
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f188780c2c42fa9f4b4ad387f85ff39be7d5000f8bd47856ecd28c0dc6273b76
|
|
| MD5 |
8235de5bf457d66c75331eb525104241
|
|
| BLAKE2b-256 |
e197ed86e9b24946fe4e2e4941125f6039249907b549e318a833804f8664f9eb
|