Skip to content

Releases: truera/trulens

TruLens v1.0.1

30 Aug 19:23
Compare
Choose a tag to compare

Moving to TruLens v1: Reliable and Modular Logging and Evaluation

TruLens v1 is here! Read the announcement blog and check out our migration guide for moving from trulens_eval.

TruLens 1.0 Announcement Blog

TruLens-Eval v0.33.1

30 Aug 19:19
a550455
Compare
Choose a tag to compare

Bug Fixes

  • Fix for punkt breaking change to groundedness feedback function
  • Fix incompatibility with latest pip version

TruLens-Eval v0.32.1

30 Aug 19:19
30c89d8
Compare
Choose a tag to compare

Bug Fixes

  • Fix for punkt breaking change to groundedness feedback function
  • Fix incompatibility with latest pip version

TruLens-Eval v0.31.1

30 Aug 19:20
35768a3
Compare
Choose a tag to compare

Bug Fixes

  • Fix for punkt breaking change to groundedness feedback function
  • Fix incompatibility with latest pip version

TruLens-Eval v0.33.0

16 Jul 20:15
bd7ea1b
Compare
Choose a tag to compare

What's Changed

Documentation Updates

Bug Fixes

Full Changelog: trulens-eval-0.32.0...trulens-eval-0.33.0

TruLens-Eval v0.32.0

24 Jun 18:03
10b56c5
Compare
Choose a tag to compare

What's Changed

Documentation

Examples

Bug Fixes

trulens-eval-0.31.0

10 Jun 15:03
Compare
Choose a tag to compare

What's Changed

Examples

Bug fixes

Full Changelog: trulens-eval-0.30.1...trulens-eval-0.31.0

trulens-eval-0.30.1

25 May 15:11
e8985e8
Compare
Choose a tag to compare

What's Changed

Bug Fixes

Full Changelog: trulens-eval-0.29.0...trulens-eval-0.30.1

TruLens Eval v0.29.0

16 May 20:17
Compare
Choose a tag to compare

Breaking Changes

In this release, we re-aligned the groundedness feedback function with other LLM-based feedback functions. It's now faster and easier to define a groundedness feedback function, and can be done with a standard LLM provider rather than importing groundedness on its own. In addition, the custom groundedness aggregation required is now done by default.

Before:

from trulens_eval.feedback.provider.openai import OpenAI
from trulens_eval.feedback import Groundedness

provider = OpenAI() # or any other LLM-based provider
grounded = Groundedness(groundedness_provider=provider)
f_groundedness = (
    Feedback(grounded.groundedness_measure_with_cot_reasons, name = "Groundedness")
    .on(Select.RecordCalls.retrieve.rets.collect())
    .on_output()
    .aggregate(grounded.grounded_statements_aggregator)
)

After:

provider = OpenAI()
f_groundedness = (
    Feedback(provider.groundedness_measure_with_cot_reasons, name = "Groundedness")
    .on(Select.RecordCalls.retrieve.rets.collect())
    .on_output()
)

This change also applies to the NLI-based groundedness feedback function available from the Huggingface provider.

Before:

from trulens_eval.feedback.provider.openai import Huggingface
from trulens_eval.feedback import Groundedness

from trulens_eval.feedback.provider import Huggingface
huggingface_provider = Huggingface()
grounded = Groundedness(groundedness_provider=huggingface_provider)

f_groundedness = (
    Feedback(grounded.groundedness_measure_with_cot_reasons, name = "Groundedness")
    .on(Select.RecordCalls.retrieve.rets.collect())
    .on_output()
    .aggregate(grounded.grounded_statements_aggregator)
)

After:

from trulens_eval.feedback import Feedback
from trulens_eval.feedback.provider.hugs = Huggingface

huggingface_provider = Huggingface()
    
f_groundedness = (
    Feedback(huggingface_provider.groundedness_measure_with_nli, name = "Groundedness")
    .on(Select.RecordCalls.retrieve.rets.collect())
    .on_output()
)

In addition to the change described above, below you can find the full release description.

What's Changed

Bug Fixes

Examples

New Contributors

Full Changelog: trulens-eval-0.28.0...trulens-eval-0.29.0

TruLens Eval v0.28.0

17 Apr 19:14
b79a91a
Compare
Choose a tag to compare

What's Changed

Bug fixes

Examples

Full Changelog: trulens-eval-0.27.2...trulens-eval-0.28.0