def cosine_similarity(self, document):
        if self.model is not None: 
            return self.model.cosine_similarity(self, document)
        if document.model is not None:
            return document.model.cosine_similarity(self, document)
        return cosine_similarity(self.vector, document.vector)
Get the list of cached clean steps from the agent.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Document.cosine_similarity--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/deploy_utils.py/agent_get_clean_steps