Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/develop/python/integrations/braintrust.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Follow the steps below to configure your Worker.
1. Install the Braintrust SDK with Temporal support.

```bash
uv pip install "braintrust[temporal]"
uv add "braintrust[temporal]"
```

2. Initialize the Braintrust logger before creating your Worker. The logger must be initialized first so that spans are
Expand Down Expand Up @@ -103,7 +103,7 @@ Follow the steps below to configure your Worker.

```bash
export BRAINTRUST_API_KEY="your-api-key"
python worker.py
uv run worker.py
```

:::tip
Expand Down Expand Up @@ -266,8 +266,8 @@ temporal server start-dev
export BRAINTRUST_API_KEY="your-api-key"
export OPENAI_API_KEY="your-api-key"
export BRAINTRUST_PROJECT="deep-research"
uv run python -m worker
uv run worker.py

# Terminal 3: Run a research query
uv run python -m start_workflow "What are the latest advances in quantum computing?"
uv run start_workflow.py "What are the latest advances in quantum computing?"
```