-
Notifications
You must be signed in to change notification settings - Fork 478
v0.62.1 #2900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v0.62.1 #2900
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
71 changes: 71 additions & 0 deletions
71
docs/blog/entries/customize-llm-as-a-judge-output-schemas.mdx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| --- | ||
| title: "Customize LLM-as-a-Judge Output Schemas" | ||
| slug: customize-llm-as-a-judge-output-schemas | ||
| date: 2025-11-10 | ||
| tags: [v0.62.0] | ||
| description: "Learn how to customize LLM-as-a-Judge evaluator output schemas with binary, multiclass, or custom JSON formats. Enable reasoning for better evaluation quality and structure feedback to match your workflow needs." | ||
| --- | ||
|
|
||
| import Image from "@theme/IdealImage"; | ||
|
|
||
| The LLM-as-a-Judge evaluator now supports custom output schemas. You can define exactly what feedback structure you need for your evaluations. | ||
|
|
||
|
|
||
| <div style={{display: 'flex', justifyContent: 'center', gap: '24px', margin: '20px 0'}}> | ||
| <Image | ||
| img={require('/static/images/changelog/changelog-llm-as-a-judge-response-1.png')} | ||
| alt="Custom output schemas in LLM-as-a-Judge - Example 1" | ||
| style={{width: '48%', minWidth: 0}} | ||
| /> | ||
| <Image | ||
| img={require('/static/images/changelog/changelog-llm-as-a-judge-response-2.png')} | ||
| alt="Custom output schemas in LLM-as-a-Judge - Example 2" | ||
| style={{width: '48%', minWidth: 0}} | ||
| /> | ||
| </div> | ||
|
|
||
| ## What's New | ||
|
|
||
| ### **Flexible Output Types** | ||
| Configure the evaluator to return different types of outputs: | ||
| - **Binary**: Return a simple yes/no or pass/fail score | ||
| - **Multiclass**: Choose from multiple predefined categories | ||
| - **Custom JSON**: Define any structure that fits your use case | ||
|
|
||
| ### **Include Reasoning for Better Quality** | ||
| Enable the reasoning option to have the LLM explain its evaluation. This improves prediction quality because the model thinks through its assessment before providing a score. | ||
|
|
||
| When you include reasoning, the evaluator returns both the score and a detailed explanation of how it arrived at that judgment. | ||
|
|
||
| ### **Advanced: Raw JSON Schema** | ||
| For complete control, provide a raw JSON schema. The evaluator will return responses that match your exact structure. | ||
|
|
||
| This lets you capture multiple scores, categorical labels, confidence levels, and custom fields in a single evaluation pass. You can structure the output however your workflow requires. | ||
|
|
||
| ### **Use Custom Schemas in Evaluation** | ||
| Once configured, your custom schemas work seamlessly in the evaluation workflow. The results display in the evaluation dashboard with all your custom fields visible. | ||
|
|
||
| This makes it easy to analyze multiple dimensions of quality in a single evaluation run. | ||
|
|
||
| ## Example Use Cases | ||
|
|
||
| **Binary Score with Reasoning:** | ||
| Return a simple correct/incorrect judgment along with an explanation of why the output succeeded or failed. | ||
|
|
||
| **Multi-dimensional Feedback:** | ||
| Capture separate scores for accuracy, relevance, completeness, and tone in one evaluation. Include reasoning for each dimension. | ||
|
|
||
| **Structured Classification:** | ||
| Return categorical labels (excellent/good/fair/poor) along with specific issues found and suggestions for improvement. | ||
|
|
||
| ## Getting Started | ||
|
|
||
| To use custom output schemas with LLM-as-a-Judge: | ||
|
|
||
| 1. Open the evaluator configuration | ||
| 2. Select your desired output type (binary, multiclass, or custom) | ||
| 3. Enable reasoning if you want explanations | ||
| 4. For advanced use, provide your JSON schema | ||
| 5. Run your evaluation | ||
|
|
||
| Learn more in the [LLM-as-a-Judge documentation](/evaluation/configure-evaluators/llm-as-a-judge). |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@agenta/ee", | ||
| "version": "0.62.0", | ||
| "version": "0.62.1", | ||
| "private": true, | ||
| "engines": { | ||
| "node": ">=18" | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@agenta/oss", | ||
| "version": "0.62.0", | ||
| "version": "0.62.1", | ||
| "private": true, | ||
| "engines": { | ||
| "node": ">=18" | ||
|
|
||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "agenta-web", | ||
| "version": "0.62.0", | ||
| "version": "0.62.1", | ||
| "workspaces": [ | ||
| "ee", | ||
| "oss", | ||
|
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.