Skip to content

OutputContext

Source code in docs_src/capo_lex_models_v2/types/output_context.py
class OutputContext(TypedDict, closed=True):
    name: "capo_lex_models_v2.types.name.Name"
    """<p>The name of the output context.</p>"""
    time_to_live_in_seconds: "capo_lex_models_v2.types.context_time_to_live_in_seconds.ContextTimeToLiveInSeconds"
    """<p>The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.</p>"""
    turns_to_live: "capo_lex_models_v2.types.context_turns_to_live.ContextTurnsToLive"
    """<p>The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.</p>"""

name instance-attribute

name: Name

The name of the output context.

time_to_live_in_seconds instance-attribute

time_to_live_in_seconds: ContextTimeToLiveInSeconds

The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.

turns_to_live instance-attribute

turns_to_live: ContextTurnsToLive

The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.