Skip to content

Releases: braintrustdata/braintrust-sdk-ruby

v0.3.2

14 Apr 20:42
b5dcaa9

Choose a tag to compare

Changelog

  • fix(deps): allow openssl 4.x for compatibility (#151) (b5dcaa9)

v0.3.1

05 Apr 14:25
beb57d8

Choose a tag to compare

Changelog

v0.3.0

20 Mar 19:45
a14db18

Choose a tag to compare

Changelog

v0.2.1

13 Mar 03:14
e3e385a

Choose a tag to compare

Changelog

  • Added support for trace: in Scorer blocks: this allows you to score an Eval case by looking at the LLM activity during the task, not just the input or output. (#112)
  • A Scorer can now be retrieved by its name + project name (not just by ID) (#113)
  • Scorer and Task now support keyword arguments for their blocks (e.g. |output:, expected:| instead of |input, output expected|) to allow for more concise expressions. (#111)
    • Using positional arguments are still supported but will produce a deprecation warning.
  • Scorer and Task are now independent and accessible outside of Eval (#111)
    • The scorer and task functions in the Eval namespace are still supported will produce a deprecation warning.

v0.2.0

02 Mar 15:13
db1c051

Choose a tag to compare

Changelog

v0.1.4

18 Feb 14:22
581d115

Choose a tag to compare

Changelog

v0.1.3

13 Feb 19:43
caa81a6

Choose a tag to compare

Changelog

  • Added origin tagging to Eval datasets (for proper attribution) (#97)
  • Datasets are now a first-class API (#98)
  • Evals no longer accept state, use api objects instead (#98)
  • Fixed Anthropic instrumentation not recording system prompts correctly (#100) (Jessica Alder (@jessicaalder-lgtm))

v0.1.2

04 Feb 16:02
468f640

Choose a tag to compare

Changelog

  • Added support for prompts (#70, #77)

v0.1.1

29 Jan 01:00
50d82b8

Choose a tag to compare

Changelog

  • Added moderations API support for openai and ruby-openai (#89, #92)
  • Added support for anthropic messages beta API (#90, #93)
    • This is "best effort" support only. Since the Anthropic API is "beta" and may change between minor versions, instrumentation may break unexpectedly and support for beta features may be limited.
  • The tracer now attempts to flush traces at the end of the process by default. Useful for short-lived processes like lambdas. (#91)

v0.1.0

13 Jan 20:05
7e4fa23

Choose a tag to compare

Changelog

This release introduces auto-instrumentation to make installation quick & easy, a new Integration API for plugging in new instrumentation, as well as numerous bug fixes and minor enhancements to existing instrumentation (new fields, attributes, etc.)

New users can setup their applications by just setting their API key in their environment, then...

For Rails applications (or ones using Bundler.setup), add the following to your Gemfile:

gem "braintrust", require: "braintrust/setup"

Otherwise, for other Ruby applications, add the following to your application:

require "braintrust/setup"

We encourage existing users to switch over to the new auto-instrumentation setup, or if you prefer manual instrumentation, the new instrumentation API. The older API for instrumentation (e.g. .wrap(client)) is now deprecated and will raise warnings when used. It will be removed in the future.