Skip to content

trulens.core.experimental

trulens.core.experimental

Classes

Feature

Bases: str, Enum

Experimental feature flags.

Use TruSession.experimental_enable_feature to enable these features:

Examples:

from trulens.core.session import TruSession
from trulens.core.experimental import Feature

session = TruSession()

session.experimental_enable_feature(Feature.OTEL_TRACING)
Attributes
OTEL_TRACING class-attribute instance-attribute
OTEL_TRACING = 'otel_tracing'

OTEL-like tracing.

Warning

This changes how wrapped functions are processed. This setting cannot be changed after any wrapper is produced.