Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 422 Bytes

File metadata and controls

26 lines (19 loc) · 422 Bytes

Google Gemini + PostHog AI Examples

Track Google Gemini API calls with PostHog.

Setup

cp .env.example .env
# Fill in your API keys in .env
uv sync

Examples

  • chat.py - Chat with tool calling
  • streaming.py - Streaming responses
  • image_generation.py - Image generation

Run

source .env
uv run python chat.py
uv run python streaming.py
uv run python image_generation.py