InMemoryChatbot

constructor(maxSessions: Int = 1000, evictionBatchSize: Int = maxOf(1, maxSessions / 10))

Parameters

maxSessions

The maximum number of concurrent chat sessions to maintain. Defaults to 1000.

evictionBatchSize

The number of sessions to evict when the limit is reached. Defaults to 10% of maxSessions.