Interface defining the fields required to create an instance of DynamoDBChatMessageHistory. It includes the DynamoDB table name, session ID, partition key, sort key, message attribute name, and DynamoDB client configuration.

interface DynamoDBChatMessageHistoryFields {
    config?: DynamoDBClientConfig;
    key?: Record<string, AttributeValue>;
    messageAttributeName?: string;
    partitionKey?: string;
    sessionId: string;
    sortKey?: string;
    tableName: string;
}

Properties

config?: DynamoDBClientConfig
key?: Record<string, AttributeValue>
messageAttributeName?: string
partitionKey?: string
sessionId: string
sortKey?: string
tableName: string