A chatbot for interacting with CSV files using AI.
Project description
ChatCSV AI
ChatCSV AI is a Python application that allows users to interact with CSV files using natural language queries. It leverages AI models to provide insights and perform operations on the data contained within CSV files.
Features
- Query CSV data using SQL-like syntax.
- Retrieve data semantically using natural language.
- Execute Python code for calculations and data manipulations.
- Interactive command-line interface for user-friendly interactions.
Installation
To install the project, clone the repository and navigate to the project directory. Then, run the following command:
pip install chatcsvai
Usage
To start the application, use the following command:
chatcsvai --csv <csv-file-location> --desc "<file-description" --groq-api-key <api-key> --model-name <model-name>
Command-Line Arguments
--csv: Path to the CSV file (required).--desc: Description of your data (required).--groq-api-key: Your GROQ API Key (required).--model-name: (Optional) Specify the GROQ model name. Defaults tometa-llama/llama-4-scout-17b-16e-instruct.
Example
python main.py --csv data.csv --desc "Sales data for 2023" --groq-api-key your_api_key --model-name your_model_name
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.
Project details
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 chatcsvai-0.2.2.tar.gz.
File metadata
- Download URL: chatcsvai-0.2.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5841ebfec01c2fd3e481953932594d459acbc6c8c3df05f7da2e5dd9a29c7e57
|
|
| MD5 |
1125343017e27ab099179f90be17e01e
|
|
| BLAKE2b-256 |
fcbd943dcd06b6f73665754c467a0e1885cfebc8f1d2c2ef2198781f98589c91
|
File details
Details for the file chatcsvai-0.2.2-py3-none-any.whl.
File metadata
- Download URL: chatcsvai-0.2.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c1cded670de893818379e4c4d0d9c3922f0d9fdef251018adb662ad5d879cc6
|
|
| MD5 |
2c8a07d6c138fe7a6e324fd0b83d355c
|
|
| BLAKE2b-256 |
fd92cc23b00bd8f611bd5eaf90034122aab01d167354bc3ed2ada56f0dabb76c
|