Skip to main content

PyPI - Version Azure DevOps builds (job) 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.0.9

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.0.9
File Size Uploaded Provenance Actions
trulens-1.0.9.tar.gz 4.2 kB Without provenance Details for trulens-1.0.9.tar.gz

Built distribution (wheel)

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

Total release size: 7.8 kB

Release files / trulens-1.0.9.tar.gz

Download URL trulens-1.0.9.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5c62129be8bc53f60807da5a16102d657e7939d33ce8ea9d6918f094e9817a43
BLAKE2b-256 checksum
How to use checksums
08e3b865ee9648d158bb1ecde70cec31030f945a79b777b9f107c72648a7916b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.7

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

Download URL trulens-1.0.9-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6622f89550a95ce14e9b95f55fa9a3de55892ba60bb5f73a1c302d6047e064ab
BLAKE2b-256 checksum
How to use checksums
5140a80ff86421cdcb48a23030bc61b8588caf8b10fb949b1f66663f1554a75a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.7

Security for trulens 1.0.9

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

1.0.9 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