Skip to main content

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 -e .

Usage

To start the application, use the following command:

python main.py --csv <path_to_csv_file> --desc "<description_of_data>" --groq-api-key <your_groq_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 to meta-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.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

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

chatcsvai-0.2.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatcsvai-0.2.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file chatcsvai-0.2.1.tar.gz.

File metadata

  • Download URL: chatcsvai-0.2.1.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

Hashes for chatcsvai-0.2.1.tar.gz
Algorithm Hash digest
SHA256 30ea8d85d4f9db2134010feb01ec95561e1794357bf5bec45b4ebfac20f50557
MD5 1f93de9dacaddfcb7a98804c3f5b63b7
BLAKE2b-256 e77b4e7e724d86e54c9847aa73d5f76c35dc25c144fcf3ce241b51eb65d6836f

See more details on using hashes here.

File details

Details for the file chatcsvai-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: chatcsvai-0.2.1-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

Hashes for chatcsvai-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5872d241898833713289cea210d633b8ec707b72b4dc10a1f801b2b4fd7f6dd3
MD5 c2dc920e7720baa1c06a038a06ae3582
BLAKE2b-256 86fae3d31d2c828c26bb5010f30d194fc2ead6cc1e64a0402ad5d94e11f3271e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page