Skip to main content
atoti_ai.AutoExplainConfig(
    *,
    retained_run_count: int = 100,
    run_lifetime: timedelta = datetime.timedelta(seconds=6000),
)
The configuration of auto_explain.

Attributes

retained_run_count

How many analyses the session keeps retrievable from the chat. A user can ask the chat for an analysis that already ran instead of running it again. This is the total the session keeps, across all its users. Once it is reached, running another analysis drops the one that ran first.

run_lifetime

How long an analysis stays retrievable from the chat. Counted from the moment the analysis ran. Past it, the analysis has to run again.