This library provides tools for evaluating and tracing AI applications in Braintrust. Use it to:
- Evaluate your AI models with custom test cases and scoring functions
- Trace LLM calls and monitor AI application performance with OpenTelemetry
- Integrate seamlessly with OpenAI and other LLM providers
This SDK is currently in BETA status and APIs may change.
You can install the Braintrust SDK via NuGet:
dotnet add package Braintrust.Sdk<ItemGroup>
<PackageReference Include="Braintrust.Sdk" Version="version goes here" />
</ItemGroup>Install the dotnet 8 framework
- Macos:
brew install dotnet-sdk@8 - Linux: Follow these instructions
- Windows: Follow these instructions
ls -l examples/
# >>> outputs
EvalExample/
OpenAIInstrumentation/
SimpleOpenTelemetry/
... # rest of the examplesdotnet run --project examples/SimpleOpenTelemetry