Class for storing chat message history in-memory. It extends the BaseListChatMessageHistory class and provides methods to get, add, and clear messages.

Hierarchy

Constructors

Methods

  • Method to clear all the messages from the ChatMessageHistory instance.

    Returns Promise<void>

    A promise that resolves when all messages have been cleared.

Generated using TypeDoc