Skip to main content

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

🦑 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!

Metadata

Release files for trulens 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trulens 2.2.1
File Size Uploaded Provenance Actions
trulens-2.2.1.tar.gz 4.1 kB Without provenance Details for trulens-2.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trulens 2.2.1
File Interpreter ABI Platform Actions
trulens-2.2.1-py3-none-any.whl Python 3 none any Details for trulens-2.2.1-py3-none-any.whl

Total release size: 7.8 kB

Release files / trulens-2.2.1.tar.gz

Download URL trulens-2.2.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e4db08a3a0cf647e021e50768a56e0c01386e717121c7211980bdc2719d00d4f
BLAKE2b-256 checksum
How to use checksums
009eef4e4b7ac8c0e096f6a00de98e5efdf7a0e2fe0ba53fed54f6d5a8bcb8aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.13

Release files / trulens-2.2.1-py3-none-any.whl

Download URL trulens-2.2.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed697bea48dc20e47b225b9838e3d6d31db3ee444ae18024c242beb942c9bb2a
BLAKE2b-256 checksum
How to use checksums
a9405d0a0094d9efdf1a5cd57682df8144483fb1c8dc743b8bf76fd25c7775d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.13

Security for trulens 2.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page