Skip to content

OutputContext

Source code in docs_src/capo_lex_model_building_service/types/output_context.py
class OutputContext(TypedDict, closed=True):
    name: "capo_lex_model_building_service.types.output_context_name.OutputContextName"
    """<p>The name of the context.</p>"""
    time_to_live_in_seconds: "capo_lex_model_building_service.types.context_time_to_live_in_seconds.ContextTimeToLiveInSeconds"
    """<p>The number of seconds that the context should be active after it is first sent in a <code>PostContent</code> or <code>PostText</code> response. You can set the value between 5 and 86,400 seconds (24 hours).</p>"""
    turns_to_live: (
        "capo_lex_model_building_service.types.context_turns_to_live.ContextTurnsToLive"
    )
    """<p>The number of conversation turns that the context should be active. A conversation turn is one <code>PostContent</code> or <code>PostText</code> request and the corresponding response from Amazon Lex.</p>"""

name instance-attribute

The name of the context.

time_to_live_in_seconds instance-attribute

time_to_live_in_seconds: ContextTimeToLiveInSeconds

The number of seconds that the context should be active after it is first sent in a PostContent or PostText response. You can set the value between 5 and 86,400 seconds (24 hours).

turns_to_live instance-attribute

turns_to_live: ContextTurnsToLive

The number of conversation turns that the context should be active. A conversation turn is one PostContent or PostText request and the corresponding response from Amazon Lex.