TensorZero README Examples

This directory contains the code used for the absolutely minimal examples in the README at the repository root.

Running the Example

  1. Launch the TensorZero Gateway and ClickHouse database:
docker compose up
  1. Install the Python dependencies. We recommend using uv:
uv sync
  1. Run the examples:
uv run openai_sdk.py