ActiveContextTimeToLive¶
Structure Class¶
ActiveContextTimeToLive
dataclass
¶
The time that a context is active. You can specify the time to live in seconds or in conversation turns.
Attributes¶
time_to_live_in_seconds
instance-attribute
¶
time_to_live_in_seconds: 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: 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.