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 LangChain4j client instrumentation.
 
Braintrust OpenAI client instrumentation.
 
Load LLM objects from the Braintrust API
 
 
Main entry point for Braintrust tracing setup.
 
Represents a parsed parent with type and ID.
Datasets define the cases for evals.
 
A dataset loaded externally from Braintrust using paginated API fetches
A single row in a dataset.
Remote Eval Dev Server
 
An evaluation framework for testing AI models.
Builder for creating evaluations with fluent API.
Deprecated.
Request body for POST /eval endpoint
Dataset specification - supports inline data, by name, or by ID
Individual evaluation case data
Function ID specification (multiple formats supported)
Remote scorer specification
Response body for POST /eval endpoint
 
Summary statistics for a scorer
 
Results of all eval cases of an experiment.
Exception thrown when login to Braintrust fails.
Entrypoint for instrumenting OpenAI clients.
A builder of OpenAITelemetry.
Generic pointer to an object in braintrust
Represents a remote evaluator that can be exposed via the dev server.
 
Represents a configurable parameter for the evaluator
 
Parameter type enumeration
Context object attached to each authenticated request.
 
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.