Metadata-Version: 2.4
Name: chatcsvai
Version: 0.1.4
Summary: A chatbot for interacting with CSV files using AI.
Author: Lucky Kandpal
Author-email: Lucky Kandpal <luckykandpal091@gmail.com>
License-Expression: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: pandas<3.0.0,>=1.3.0
Requires-Dist: duckdb>=0.3.2
Requires-Dist: langchain-core<0.4.0,>=0.0.1
Requires-Dist: sentence-transformers<5.0.0,>=2.2.0
Requires-Dist: langchain<0.4.0,>=0.0.1
Requires-Dist: langchain-huggingface<0.3.0,>=0.0.1
Requires-Dist: langchain-community<0.4.0,>=0.0.1
Requires-Dist: langchain-groq<0.4.0,>=0.0.1
Requires-Dist: langchain-experimental<0.4.0,>=0.0.1
Requires-Dist: langchain-memory<0.4.0,>=0.0.1
Dynamic: author

# 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:

```bash
pip install -e .
```

## Usage

To start the application, use the following command:

```bash
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

```bash
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.
