All Classes and Interfaces

Class
Description
Entrypoint for instrumenting Anthropic clients.
A builder of AnthropicTelemetry.
Utility to serialize LLM attachment data in a braintrust-friendly manner.
 
Main entry point for the Braintrust SDK.
Braintrust Anthropic client instrumentation.
Provides the necessary API calls for the Braintrust SDK.
 
 
 
 
 
 
 
 
 
Implementation for test doubling
 
 
 
 
 
 
 
 
 
 
 
Configuration for Braintrust SDK with sane defaults.
 
Used to identify the braintrust parent for spans and experiments.
Braintrust Google GenAI client instrumentation.
Helper class for instrumenting Gemini Client by replacing its internal ApiClient.
Braintrust OpenAI client instrumentation.
 
Load LLM objects from the Braintrust API
 
 
Main entry point for Braintrust tracing setup.
 
Datasets define the cases for evals.
 
A single row in a dataset.
An evaluation framework for testing AI models.
Builder for creating evaluations with fluent API.
Deprecated.
Results of all eval cases of an experiment.
Entrypoint for instrumenting OpenAI clients.
A builder of OpenAITelemetry.
Individual metric value assigned by a scorer.
A scorer evaluates the result of a test case with a score between 0 (inclusive) and 1 (inclusive).
A task executes an EvalCase and returns a result
Result from a single task run.