Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyPI - Version Azure Build Status GitHub PyPI - Downloads Slack 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 slack community!

Metadata

Release files for trulens 1.1.0a2

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 1.1.0a2
File Size Uploaded Provenance Actions
trulens-1.1.0a2.tar.gz 4.0 kB Without provenance Details for trulens-1.1.0a2.tar.gz

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / trulens-1.1.0a2.tar.gz

Download URL trulens-1.1.0a2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
727c1081c04fce84f9b7dabd66e66196268908ee23913492b1e3037cf9ac407a
BLAKE2b-256 checksum
How to use checksums
a3b7b1948a32ab36fea188afcad161b3284603ef672896d15e2d7592de835851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / trulens-1.1.0a2-py3-none-any.whl

Download URL trulens-1.1.0a2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16a4333d65d008dbc3be6fb56a7d308fa9821e3ba5e9d435d7194637adba67a9
BLAKE2b-256 checksum
How to use checksums
7ffbbb0af586e2cfa460c86155a2397e5e0f4d90a8d209f4aea871130f7c6dad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Security for trulens 1.1.0a2

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