langchain/memory/chat_message_histories/dynamodb.py/DynamoDBChatMessageHistory/clear
class DynamoDBChatMessageHistory:    def clear(self) -> None:
        """Clear session memory from DynamoDB"""
        from botocore.exceptions import ClientError

        try:
            self.table.delete_item(Key={"SessionId": self.session_id})
        except ClientError as err:
            logger.error(err)