Skip to main content

Library with langchain instrumentation to evaluate LLM based applications.

Project description

Welcome to TruLens-Eval!

TruLens

Don't just vibe-check your llm app! Systematically evaluate and track your LLM experiments with TruLens. As you develop your app including prompts, models, retreivers, knowledge sources and more, TruLens-Eval is the tool you need to understand its performance.

Fine-grained, stack-agnostic instrumentation and comprehensive evaluations help you to identify failure modes & systematically iterate to improve your application.

Read more about the core concepts behind TruLens including Feedback Functions, The RAG Triad, and Honest, Harmless and Helpful Evals.

TruLens in the development workflow

Build your first prototype then connect instrumentation and logging with TruLens. Decide what feedbacks you need, and specify them with TruLens to run alongside your app. Then iterate and compare versions of your app in an easy-to-use user interface 👇

Architecture Diagram

Installation and Setup

Install the trulens-eval pip package from PyPI.

    pip install trulens-eval

Quick Usage

Walk through how to instrument and evaluate a RAG built from scratch with TruLens.

Open In Colab

💡 Contributing

Interested in contributing? See our contribution guide for more details.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

trulens_eval-0.18.1-py3-none-any.whl (622.3 kB view details)

Uploaded Python 3

File details

Details for the file trulens_eval-0.18.1-py3-none-any.whl.

File metadata

  • Download URL: trulens_eval-0.18.1-py3-none-any.whl
  • Upload date:
  • Size: 622.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for trulens_eval-0.18.1-py3-none-any.whl
Algorithm Hash digest
SHA256 527fb2449fd59a4c17466893c04feebfc222636639fe9527d0c2ea03bbb72a3f
MD5 8665430aa3d7dad2ac73b9c2c78feac9
BLAKE2b-256 0a494aa561d90b48b1995086c058110c065a9639272d239170a2d62507a93785

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page