Skip to content

RuleDict

Dictionary Type

RuleDict

Bases: TypedDict

Dictionary form of Rule.

Attributes

filters instance-attribute
filters: Sequence[Filter | FilterDict] | None

The list of filters that determine which agent traces should be included in the evaluation based on trace properties.

sampling_config instance-attribute

The sampling configuration that determines what percentage of agent traces to evaluate.

session_config instance-attribute
session_config: SessionConfig | SessionConfigDict | None

The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation.