API Reference - 🦑 TruLens
API Reference
Welcome to the TruLens API Reference! Use the search and navigation to explore the various modules and classes available in the TruLens library.
Required and 📦 Optional packages
These packages are installed when installing the main trulens package.
trulens-coreinstalls core.trulens-feedbackinstalls feedback.trulens-dashboardinstalls dashboard.trulens_evalinstalls trulens_eval, a temporary package for backwards compatibility.
Three categories of optional packages contain integrations with 3rd party app types and providers:
- Apps for instrumenting apps.
- Providers for invoking various models or using them for feedback functions.
- 📦 Cortex in the package
trulens-providers-cortexfor using Snowflake Cortex models. - 📦 LangChain in the package
trulens-providers-langchainfor using models via LangChain. - 📦 Bedrock in the package
trulens-providers-bedrockfor using Amazon Bedrock models. - 📦 HuggingFace and HuggingfaceLocal in the package
trulens-providers-huggingfacefor using HuggingFace models. - 📦 LiteLLM in the package
trulens-providers-litellmfor using models via LiteLLM. - 📦 OpenAI and AzureOpenAI in the package
trulens-providers-openaifor using OpenAI models.
- 📦 Cortex in the package
- Connectors for storing TruLens data.
- 📦 SnowflakeConnector in package
trulens-connectors-snowflakefor connecting to Snowflake databases.
- 📦 SnowflakeConnector in package
Other optional packages:
- 📦 Benchmark in package
trulens-benchmarkfor running benchmarks and meta evaluations.
Private API
Module members which begin with an underscore _ are private and should not be used by code outside of TruLens.
Module members which begin but not end with double underscore __ are class/module private and should not be used outside of the defining module or class.
Warning
There is no deprecation period for the private API.