Skip to content

ActiveContextTimeToLive

Source code in docs_src/capo_lex_runtime_v2/types/active_context_time_to_live.py
class ActiveContextTimeToLive(TypedDict, closed=True):
    time_to_live_in_seconds: "capo_lex_runtime_v2.types.active_context_time_to_live_in_seconds.ActiveContextTimeToLiveInSeconds"
    """<p>The number of seconds that the context is active. You can specify between 5 and 86400 seconds (24 hours).</p>"""
    turns_to_live: "capo_lex_runtime_v2.types.active_context_turns_to_live.ActiveContextTurnsToLive"
    """<p>The number of turns that the context is active. You can specify up to 20 turns. Each request and response from the bot is a turn.</p>"""

time_to_live_in_seconds instance-attribute

time_to_live_in_seconds: ActiveContextTimeToLiveInSeconds

The number of seconds that the context is active. You can specify between 5 and 86400 seconds (24 hours).

turns_to_live instance-attribute

turns_to_live: ActiveContextTurnsToLive

The number of turns that the context is active. You can specify up to 20 turns. Each request and response from the bot is a turn.