Skip to content

Rule

Source code in docs_src/capo_bedrock_agentcore_control/types/rule.py
class Rule(TypedDict, closed=True):
    sampling_config: (
        "capo_bedrock_agentcore_control.types.sampling_config.SamplingConfig"
    )
    """<p> The sampling configuration that determines what percentage of agent traces to evaluate. </p>"""
    filters: NotRequired["capo_bedrock_agentcore_control.types.filter_list.FilterList"]
    """<p> The list of filters that determine which agent traces should be included in the evaluation based on trace properties. </p>"""
    session_config: NotRequired[
        "capo_bedrock_agentcore_control.types.session_config.SessionConfig"
    ]
    """<p> The session configuration that defines timeout settings for detecting when agent sessions are complete and ready for evaluation. </p>"""

filters instance-attribute

filters: NotRequired[FilterList]

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

sampling_config instance-attribute

sampling_config: SamplingConfig

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

session_config instance-attribute

session_config: NotRequired[SessionConfig]

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