workflow for document similarity demonstration