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 {
    sessionId: string;
    tableName: string;
    config?: DynamoDBClientConfig;
    key?: Record<string, AttributeValue>;
    messageAttributeName?: string;
    partitionKey?: string;
    sortKey?: string;
}

Properties

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