# Privacy Policy — LLM Integrator (Chrome Extension)
**Effective date:** 2025-08-08

LLM Integrator is a Chrome extension that analyzes the **currently active web page** using a Large Language Model (LLM) chosen by you (OpenAI or Google Gemini). This policy explains what data is handled, where it goes, and the controls you have.

## TL;DR
- We **do not collect**, sell, or monetize your data.
- Your **API keys and settings are stored locally** on your device (via `chrome.storage.local`).
- Page text is captured **only when you click Analyze**, then **sent directly** from your browser to the LLM provider you selected to generate a response.
- We do **not run remote code**. We call the provider’s HTTPS APIs and display the response.
- Uninstalling the extension removes its local storage.

---

## Who we are
**Publisher:** Gaurav Patil
**Contact:** grogaurav@gmail.com

## What the extension does
When you click **Analyze**, the extension gathers visible text on the current page (headings, paragraphs, and list items), optionally trims it to your configured word limit, combines it with your prompt, and sends it to **the LLM API you chose**. The model’s response is shown in the extension popup and the DevTools panel and logged to the page Console.

## Data we handle
We keep things minimal and local by default.

### 1) Data you enter
- **Prompts** (per run) — used to generate the response.
- **API keys** for OpenAI or Google Generative Language — stored **locally** via `chrome.storage.local` so the extension can call the chosen API. They are **not transmitted** to the developer.

### 2) Page content
- **What**: Visible text content from the active tab (headings, paragraphs, list items).
- **When**: Only after you click **Analyze**.
- **Where it goes**: Sent **directly** to the LLM provider you selected to fulfill your request.
- **Not kept by us**: We (the developer) do not receive, store, or log this content.

### 3) Settings
- Provider/model/temperature, word and token limits, and your last 5 prompts are stored **locally** in `chrome.storage.local` to make the tool easy to reuse.

### 4) Analytics, tracking, and ads
- **None.** The extension does not include analytics, trackers, or advertising.

## Where your data goes (third parties)
When you click **Analyze**, your prompt and the collected page text are sent from your device to the **LLM API endpoint you selected** (e.g., OpenAI or Google Generative Language). Those providers will process that data under their own terms and privacy policies. Review and configure your provider account settings to your preference. The developer of LLM Integrator does **not** operate intermediary servers or proxy your requests.

## Permissions justification
- **activeTab** — Needed to operate only on the tab you’re viewing when you click **Analyze**. No broad/background access.
- **tabs** — Used by the popup to read the active tab ID so the analysis can target that tab. No history is read or stored.
- **scripting** — Injects a short, on-demand function that collects visible text for analysis; nothing persists after it runs.
- **storage** — Saves your local settings, API keys, and recent prompts in `chrome.storage.local`.
- **Host permissions** (`https://api.openai.com/*`, `https://generativelanguage.googleapis.com/*`) — Required to call the selected LLM provider’s API over HTTPS.

## Data retention
- **Local storage:** Settings, API keys, and prompt history remain on your device until you edit them or uninstall the extension.
- **Off-device processing:** Your prompt and page text are transmitted to the selected LLM provider only to produce the response. We do not control those providers’ retention policies; please consult your provider’s documentation.

## Security
- API calls are made over **HTTPS**.
- API keys are stored in Chrome’s **local extension storage** on your device. Local storage is not encrypted by the extension, so safeguard your device and browser profile. Avoid sharing your machine or syncing keys across profiles you don’t control.

## Your choices & controls
- **Change provider or model** anytime in Options.
- **Remove keys or settings** by clearing the fields in Options and clicking **Save**.
- **Delete all local data** by uninstalling the extension (this removes its local storage).
- **Do not analyze** pages that contain sensitive or confidential information if you don’t want that content sent to an LLM provider.

## Children’s privacy
This extension is intended for general audiences and is **not directed to children under 13**. We do not knowingly collect personal information from children.

## Changes to this policy
We may update this policy if features or data flows change. When we do, we’ll revise the “Effective date” above. Material changes will be highlighted in the store listing.

## Contact
Questions or requests? Email **grogaurav@gmail.com**.