Metadata-Version: 2.1
Name: gemini_batch_processor
Version: 1.0.1
Summary: A Python module to process bulk data using Google's generative AI (Gemini).
Home-page: https://github.com/Yukendiran2002/GeminiDataProcessor
Author: Yukendiran
Author-email: yukendiranjayachandiran@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas
Requires-Dist: tqdm
Requires-Dist: google-generativeai
Requires-Dist: nest-asyncio
Requires-Dist: pytz

# GeminiDataProcessor

## Overview

`GeminiDataProcessor` is a Python library that streamlines data processing through the use of Google's generative AI models (Gemini). It allows users to generate structured responses for tabular datasets using customizable prompts and schemas.

## Features

- **Integration with Gemini AI**: Process data through Google's generative AI models.
- **Asynchronous Processing**: Supports efficient handling of large datasets using `asyncio`.
- **Flexible Schema**: Define custom output schemas for structured JSON responses.
- **Error Handling**: Robust error management for API and data parsing issues.
- **Progress Tracking**: Real-time processing feedback with `tqdm`.

## Installation

You can install the module using pip:

```bash
pip install gemini_data_processor
```

```python
from gemini_batch_processor import GeminiBot

bot = GeminiBot(
    input_file="input_data.csv",
    prompt_template="Generate a summary for: {row[column name]}",
    key_names="summary,details",
    api_key="your_google_api_key",
    model="gemini-1.5-flash-002"
)
```
```python
from gemini_batch_processor import GeminiBot
GeminiBot.model_list(api_key="your_api_key")
```
