def METHOD_NAME(self):
    """
    Test missing similarity dependencies
    """
    from txtai.ann import ANNFactory
    from txtai.vectors import VectorsFactory
    with self.assertRaises(ImportError):
        ANNFactory.create({"backend": "annoy"})
    with self.assertRaises(ImportError):
        ANNFactory.create({"backend": "hnsw"})
    with self.assertRaises(ImportError):
        VectorsFactory.create({"method": "words"}, None)
    with self.assertRaises(ImportError):
        VectorsFactory.create({"method": "sentence-transformers", "path": ""}, None)