Skip to main content

Library to systematically track and evaluate LLM based applications.

Project description

PyPI - Version Azure Build Status GitHub PyPI - Downloads Discourse Docs Open In Colab

🦑 Welcome to TruLens!

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, retrievers, knowledge sources and more, TruLens 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 pip package from PyPI.

    pip install trulens

Quick Usage

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

Open In Colab

💡 Contributing & Community

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

The best way to support TruLens is to give us a ⭐ on GitHub and join our discourse community!

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 Distribution

trulens-1.4.9.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

trulens-1.4.9-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file trulens-1.4.9.tar.gz.

File metadata

  • Download URL: trulens-1.4.9.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for trulens-1.4.9.tar.gz
Algorithm Hash digest
SHA256 c17af32396c3ce83c7f489be231de9ad885298af49164b77b54c376b2e17df49
MD5 4521ab6a76a5fc6a7a2c685b08e6e3e0
BLAKE2b-256 45e0e49b7c492c3435873ff7ed13d7fb9163516016d9113b2798d4a365943e71

See more details on using hashes here.

File details

Details for the file trulens-1.4.9-py3-none-any.whl.

File metadata

  • Download URL: trulens-1.4.9-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for trulens-1.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0c820738dbac19e51fcf2be1818488e979ad268458d3f9f8dc59ab17131f9470
MD5 83020123508e4aa5900f6d2b54a7be77
BLAKE2b-256 7671622d84ef05936ae686c779c991d4e3b6ccdc2f7a691fcc4ee36ddd9a8f77

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