Class providing methods to interact with a DynamoDB table to store and retrieve chat messages. It extends the BaseListChatMessageHistory class.

Hierarchy

Constructors

Methods

  • Adds a new message to the DynamoDB table.

    Parameters

    • message: BaseMessage

      The message to be added to the DynamoDB table.

    Returns Promise<void>

  • Deletes all messages from the DynamoDB table.

    Returns Promise<void>

  • Retrieves all messages from the DynamoDB table and returns them as an array of BaseMessage instances.

    Returns Promise<BaseMessage[]>

    Array of stored messages

Generated using TypeDoc