Metadata-Version: 2.1
Name: raindrop-vertex-ai
Version: 0.0.2
Summary: Raindrop integration for Vertex AI
License: MIT
Author: Raindrop AI
Author-email: sdk@raindrop.ai
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: google-genai (>=1.0.0)
Requires-Dist: raindrop-ai (>=0.0.42)
Description-Content-Type: text/markdown

# raindrop-vertex-ai

Raindrop integration for Google Vertex AI / Gen AI (Python). Automatically captures `models.generate_content()` calls.

## Installation

```bash
pip install raindrop-vertex-ai google-genai
```

## Usage

```python
from raindrop_vertex_ai import create_raindrop_vertex_ai
from google import genai

raindrop = create_raindrop_vertex_ai(api_key="rk_...", user_id="user-123")
client = genai.Client(api_key="...")
wrapped = raindrop["wrap"](client)

response = wrapped.models.generate_content(model="gemini-2.0-flash", contents="Hello!")
print(response.text)

raindrop["shutdown"]()
```

## Options

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `api_key` | `str` | required | Raindrop API key |
| `user_id` | `str` | `None` | Associate all events with a user |
| `convo_id` | `str` | `None` | Group events into a conversation |

## Testing

```bash
cd packages/vertex-ai-python
pip install -e .
python -m pytest tests/ -v
```

