Skip to content

Releases: truera/trulens

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

trulens-eval-0.27.2

04 Apr 20:41
Compare
Choose a tag to compare

Bug Fix

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

trulens-eval-0.27.1

04 Apr 20:00
Compare
Choose a tag to compare

What's changed

Documentation updates

Bug fixes

New Contributors

Full Changelog: trulens-eval-0.27.0...trulens-eval-0.27.1

trulens-eval-0.27.0

23 Mar 14:23
Compare
Choose a tag to compare

What's Changed

Examples

  • Update LiteLLM quickstart to show TogetherAI model usage by @joshreini1 in #1018
  • Add Claude-3 as a feedback provider example by @joshreini1 in #1018
  • Notebook to show evaluation of Langchain MultiQueryRetriever by @sayedsohan in #1014
  • Added example to show usage of Vectara Hallucination Detection Model by @Josephrp in #950

New Contributors

Full Changelog: trulens-eval-0.26.0...trulens-eval-0.27.0

trulens-eval-0.26.0

15 Mar 01:58
b190b8e
Compare
Choose a tag to compare

What's Changed

  • QS Relevance -> Context Relevance by @joshreini1 in #977
  • Verify feedback selectors on recorder init by @piotrm0 in #961
  • Relax llama version by @joshreini1 in #985
  • Allow VirtualRecords to have multiple calls to the same component. by @piotrm0 in #988
  • Allow Feedback.run with args even if they had selectors specified. by @piotrm0 in #1003

Documentation

Examples

Bug Fixes

Full Changelog: trulens-eval-0.25.1...trulens-eval-0.26.0

TruLens Eval v0.25.1

08 Mar 22:30
Compare
Choose a tag to compare

What's Changed

  • Examples and Bug Fixes

Examples

Bug fixes

Full Changelog: trulens-eval-0.25.0...trulens-eval-0.25.1

TruLens Eval v0.25.0

07 Mar 01:13
d4cc695
Compare
Choose a tag to compare

What's Changed

Bug Fixes

Full Changelog: trulens-eval-0.24.1...trulens-eval-0.25.0

TruLens Eval v0.24.1

23 Feb 22:24
Compare
Choose a tag to compare

Library containing evaluations of LLM Applications

Changelog

  • Bugfixes.

Bug Fixes

  • Updated langchain and llama_index examples to avoid deprecated or outdated functions.
  • Removed unneeded debug statements.