Skip to main content

Library to systematically track and evaluate LLM based applications.

Project description

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!

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.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trulens-1.4.1.tar.gz
Algorithm Hash digest
SHA256 32f1f450311990f22f8741b5f8ab968b44775adadbcbb0b05e84eff19261f7e0
MD5 712f0d731a33308194d74baa23e8f45f
BLAKE2b-256 137923811be02cd251dca99429f783ece8e1d0d9d775bf3cdf1e9caa7f25a42d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trulens-1.4.1-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.11

File hashes

Hashes for trulens-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 390626c4db48294f0b42b572bb098ba0fcb89a583ea612a4b36b887677de4804
MD5 60f726150ddb863f49aeab310cf08093
BLAKE2b-256 23523a5610be8fc4f92b96c92aa0634d2a3f05a3efebdca7fbbb21a7953a1cd5

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