Skip to main content

Installation

Basic Usage

RDK automatically instruments the Google Generative AI SDK:

Async Support

RDK supports async Gemini calls:

Tool Calling

Gemini supports function calling:

What Gets Captured

For each Gemini call, RDK captures:

Supported Models

RDK works with all Gemini models:
  • Gemini 1.5 Pro
  • Gemini 1.5 Flash
  • Gemini 1.0 Pro

Multimodal Support

Image and video input tracing captures the content structure but not the actual media bytes.

Streaming

Streaming support is coming soon. Currently, streaming calls are passed through without tracing.