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.
Optimizing Feedback Functions
In this release, we add important changes for improving the alignment of their LLM-Judge evals to human evaluations.
Global Improvement of Groundedness Feedback
The first is the global improvement of the groundedness feedback function (benchmarks and methods forthcoming). We invite any users to submit feedback (positive or negative) on the effectiveness of the new groundedness function using GitHub Issues or Discussions.
You can view the addition of new groundedness criteria in the GitHub diff below.
New levers for aligning feedback functions
The second change is that we add new easy-to-use levers for you to change the behavior of feedback functions using few-shot examples and custom criteria. Early customers have seen useful benefit in aligning their feedback functions to their collected expert evaluations using these levers.
Adding custom criteria to a feedback function
Adding few-shot examples to guide feedback functions
What's Changed
Bug Fixes
Feedback
class by @sfc-gh-jreini in Feedback customization (including few-shot examples) #1674Preparations for Open Telemetry compatibility
main_input
,main_output
, and_extract_content
out of app.py by @sfc-gh-gtokernliang in Movemain_input
,main_output
, and_extract_content
out of app.py #1706Full Changelog: trulens-1.2.11...trulens-1.3.0
Important
TruLens 1.3.0 enhances feedback functions with improved groundedness and customization, fixes bugs, and prepares for Open Telemetry compatibility.
Feedback
class.@instrument
decorator.pyproject.toml
across multiple components.run.py
.This description was created by for 3a62061. It will automatically update as commits are pushed.