Skip to main content

Installation

Basic Usage

RDK automatically instruments the OpenAI SDK when initialized:

Async Support

RDK supports async OpenAI calls:

Tool Calling

RDK captures OpenAI function/tool calls:

What Gets Captured

For each OpenAI call, RDK captures:

Streaming

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

Supported Models

RDK works with all OpenAI chat completion models:
  • GPT-4o
  • GPT-4o mini
  • GPT-4 Turbo
  • GPT-4
  • GPT-3.5 Turbo