Skip to content

Releases: truera/trulens

trulens-1.4.3

26 Feb 23:29
Compare
Choose a tag to compare

What's Changed

Bug Fixes

Docs

Otel and other updates

Full Changelog: trulens-1.4.2...trulens-1.4.3

TruLens 1.4.2

25 Feb 23:13
9094de7
Compare
Choose a tag to compare

What's Changed

  • [SNOW-1901834] SDK: Run APIs: CREATE, GET, LIST, and DELETE and run.start() by @sfc-gh-dhuang in #1784

Full Changelog: trulens-1.4.1...trulens-1.4.2

Trulens v1.4.1

20 Feb 18:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: trulens-1.4.0...trulens-1.4.1

TruLens v1.4.0

13 Feb 21:07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: trulens-1.3.5...trulens-1.4.0

TruLens 1.3.5

06 Feb 20:44
5beb124
Compare
Choose a tag to compare

What's Changed

Full Changelog: trulens-1.3.4...trulens-1.3.5

TruLens 1.3.4

06 Feb 20:25
99ab5b3
Compare
Choose a tag to compare

What's Changed

Full Changelog: trulens-1.3.3...trulens-1.3.4

TruLens 1.3.3

27 Jan 20:10
bab65c1
Compare
Choose a tag to compare

What's Changed

Bug Fixes

Full Changelog: trulens-1.3.2...trulens-1.3.3

TruLens 1.3.2

16 Jan 14:54
Compare
Choose a tag to compare

Bug Fixes

  • Handle pydantic upgrade that now handles model_fields as a property that can resolve to a dict when there's nothing. by @sfc-gh-dkurokawa in #1726
  • Don't create event tables unless TRULENS_OTEL_TRACING env variable is set. by @sfc-gh-dkurokawa in #1724

Full Changelog: trulens-1.3.1...trulens-1.3.2

TruLens 1.3.1

16 Jan 14:50
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • Fix Snowflake SQL alchemy breaking behavior and ensure AUTOCOMMIT is enabled to fix trulens ingestion by @sfc-gh-dhuang #1719
  • Fix and update Snowflake quickstart notebook by @sfc-gh-dhuang #1722

Full Changelog: trulens-1.3.0...trulens-1.3.1

TruLens 1.3.0

10 Jan 21:50
cdb520e
Compare
Choose a tag to compare

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.

Screenshot 2025-01-10 at 11 18 51 AM

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

custom_criteria = """
A positive sentiment should be expressed with an extremely encouraging and enthusiastic tone.
"""

provider.sentiment(
    "When you're ready to start your business, you'll be amazed at how much you can achieve!",
    criteria=custom_criteria,
)

Adding few-shot examples to guide feedback functions

from trulens.feedback.v2 import feedback

fewshot_relevance_examples_list = [
    (
        {
            "query": "What are the key considerations when starting a small business?",
            "response": "You should focus on building relationships with mentors and industry leaders. Networking can provide insights, open doors to opportunities, and help you avoid common pitfalls.",
        },
        3,
    ),
]

provider.relevance(
    "What are the key considerations when starting a small business?",
    "Find a mentor who can guide you through the early stages and help you navigate common challenges.",
    examples=fewshot_relevance_examples_list,
)

What's Changed

Bug Fixes

Preparations for Open Telemetry compatibility

Full Changelog: trulens-1.2.11...trulens-1.3.0