Directories
¶
| Path | Synopsis |
|---|---|
|
This example demonstrates basic Anthropic tracing with Braintrust.
|
This example demonstrates basic Anthropic tracing with Braintrust. |
|
This example only reads existing resources unless you uncomment a lifecycle call.
|
This example only reads existing resources unless you uncomment a lifecycle call. |
|
Package main demonstrates manual attachment usage in Braintrust traces.
|
Package main demonstrates manual attachment usage in Braintrust traces. |
|
This example demonstrates basic AWS Bedrock Runtime tracing with Braintrust.
|
This example demonstrates basic AWS Bedrock Runtime tracing with Braintrust. |
|
cloudwego
|
|
|
eino
command
Example demonstrating CloudWeGo Eino tracing with Braintrust.
|
Example demonstrating CloudWeGo Eino tracing with Braintrust. |
|
Package main demonstrates distributed tracing using W3C baggage propagation.
|
Package main demonstrates distributed tracing using W3C baggage propagation. |
|
This example demonstrates basic Google Gemini tracing with Braintrust.
|
This example demonstrates basic Google Gemini tracing with Braintrust. |
|
This example demonstrates basic Genkit tracing with Braintrust.
|
This example demonstrates basic Genkit tracing with Braintrust. |
|
internal
|
|
|
anthropic
command
Anthropic kitchen sink - tests all the Anthropic features with minimal code
|
Anthropic kitchen sink - tests all the Anthropic features with minimal code |
|
bedrockruntime
command
AWS Bedrock Runtime kitchen sink - exercises the full Converse feature surface.
|
AWS Bedrock Runtime kitchen sink - exercises the full Converse feature surface. |
|
braintrust-json
command
|
|
|
classifiers
command
|
|
|
cloudwego/eino
command
Internal golden-test example for CloudWeGo Eino tracing.
|
Internal golden-test example for CloudWeGo Eino tracing. |
|
email-evals
command
This is a realistic eval example.
|
This is a realistic eval example. |
|
eval-runner
command
This example demonstrates running Braintrust evals under the bt CLI, so the Braintrust playground can trigger them against code on your own machine.
|
This example demonstrates running Braintrust evals under the bt CLI, so the Braintrust playground can trigger them against code on your own machine. |
|
eval-trial-count
command
This example demonstrates running each eval case multiple times with TrialCount.
|
This example demonstrates running each eval case multiple times with TrialCount. |
|
eval-updates
command
This example demonstrates using the Update option to append results to an existing experiment.
|
This example demonstrates using the Update option to append results to an existing experiment. |
|
functions
command
|
|
|
kitchensink
command
Package main demonstrates a comprehensive "kitchen sink" example that combines as much Braintrust SDK functionality as possible into a single executable.
|
Package main demonstrates a comprehensive "kitchen sink" example that combines as much Braintrust SDK functionality as possible into a single executable. |
|
load-test
command
Package main runs a heavy synthetic load test that exercises the Braintrust SDK's span pipeline (including the attachment processor / uploader) without requiring any real LLM API calls.
|
Package main runs a heavy synthetic load test that exercises the Braintrust SDK's span pipeline (including the attachment processor / uploader) without requiring any real LLM API calls. |
|
openapi
command
This example builds a generated request offline, or reads through the public generated client with -live.
|
This example builds a generated request offline, or reads through the public generated client with -live. |
|
rewrite
command
|
|
|
span-customizers
command
|
|
|
span-origin
command
|
|
|
workflow-eval
command
Workflow evaluation with OpenAI batches, polling or externally verified webhooks, and optional Redis persistence across process restarts.
|
Workflow evaluation with OpenAI batches, polling or externally verified webhooks, and optional Redis persistence across process restarts. |
|
This example demonstrates basic OpenAI tracing with Braintrust.
|
This example demonstrates basic OpenAI tracing with Braintrust. |
|
This example shows the two ways to use a Braintrust prompt from Go, against the same prompt:
|
This example shows the two ways to use a Braintrust prompt from Go, against the same prompt: |
|
This example demonstrates OpenAI tracing with Braintrust using the sashabaranov/go-openai library.
|
This example demonstrates OpenAI tracing with Braintrust using the sashabaranov/go-openai library. |
Click to show internal directories.
Click to hide internal directories.