Conversation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
jsonbailey
requested changes
Feb 6, 2026
jsonbailey
approved these changes
Feb 10, 2026
jsonbailey
added a commit
that referenced
this pull request
Feb 10, 2026
🤖 I have created a release *beep* *boop* --- ## [0.8.0](ldai/v0.7.2...ldai/v0.8.0) (2026-02-10) ### Features * add AI Config judge support ([#345](#345)) ([4a9d03d](4a9d03d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Release metadata and changelog-only changes; no functional code changes beyond the version constant update. > > **Overview** > Publishes `ldai` v0.8.0 by updating the version in `.release-please-manifest.json` and `ldai/package_info.go`. > > Updates `ldai/CHANGELOG.md` with a new 0.8.0 entry noting the added *AI Config judge support*. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit f1203ee. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jason Bailey <jbailey@launchdarkly.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements
Related issues
See https://docs.google.com/document/d/1lzYwQqCcTzN_2zkxJZDfJtgUcEJ4jbpx0KSsJ2bRENw/edit?tab=t.0#heading=h.5d8l30brvyuw for context
For other SDK implementations, see:
Describe the solution you've provided
Extending the Go SDK to support AI Config evaluations. This includes custom evaluator support as well.
This SDK was written with hopes to be congruent with the python and node implementations. Changes were verified by a local app that was created; the resultant data can be observed in the evaluator metrics for this AI config.
Describe alternatives you've considered
Provide a clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the pull request here.
Note
Medium Risk
Adds new evaluation and metric-tracking paths (including dynamic metric keys and new event payload fields), which could affect analytics correctness and runtime behavior if misconfigured. Changes are well-covered by tests but touch core SDK tracking surfaces.
Overview
Adds judge-mode support to AI Configs by extending the config datamodel and builder with
mode,evaluationMetricKey/evaluationMetricKeys, andjudgeConfiguration(with defensive copying to keep configs immutable).Introduces
Client.JudgeConfigto fetch judge configs while preserving{{message_history}}/{{response_to_evaluate}}placeholders for a second Mustache interpolation pass during evaluation, and adds a newldai/judgepackage that samples, interpolates, invokes a structured provider, and parses judge responses.Extends
TrackerwithTrackJudgeResponseto emit evaluation scores as metrics (including optionaljudgeConfigKeyin event data), and adds comprehensive tests covering parsing, placeholder preservation, schema generation, sampling, and response validation.Written by Cursor Bugbot for commit 41141b9. This will update automatically on new commits. Configure here.