The community member is asking if there is a built-in way to handle conversation history and control the size of the chat history. A community member responds that there is the ChatEngine, which is a stateful version that keeps conversation history, and the ChatMemoryBuffer can be used to control the size of the chat history. The original community member thanks the other community member for the information.
is there a build in way to handle conversation history? I have kind of build my own thing but I guess that's not how it is supposed to be π asked that, is there a way to count tokens so that history will not grow to big?