Skip to content

ActiveContextTimeToLiveDict

Dictionary Type

ActiveContextTimeToLiveDict

Bases: TypedDict

Dictionary form of ActiveContextTimeToLive.

Attributes

time_to_live_in_seconds instance-attribute
time_to_live_in_seconds: Required[int]

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: Required[int]

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.