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

Hierarchy

  • BaseListChatMessageHistory
    • DynamoDBChatMessageHistory

Constructors

Methods

  • Adds new messages to the DynamoDB table.

    Parameters

    • messages: BaseMessage[]

      The messages to be added to 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