💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Revert unnecessary test changes
davidmezzetti0b53138c769e
diff --git a/test/python/testpipeline/testentity.py b/test/python/testpipeline/testentity.pyindex 1335de82..f722f040 100644--- a/test/python/testpipeline/testentity.py+++ b/test/python/testpipeline/testentity.py@@ -20,14 +20,6 @@ class TestEntity(unittest.TestCase):cls.entity = Entity("dslim/bert-base-NER")- @classmethod- def tearDownClass(cls):- """- Cleanup data.- """-- cls.entity = None-def testEntity(self):"""Test entitydiff --git a/test/python/testpipeline/testextractor.py b/test/python/testpipeline/testextractor.pyindex 6dfc01d7..01cf5c6c 100644--- a/test/python/testpipeline/testextractor.py+++ b/test/python/testpipeline/testextractor.py@@ -50,8 +50,6 @@ class TestExtractor(unittest.TestCase):if cls.embeddings:cls.embeddings.close()- cls.extractor = None-def testAnswer(self):"""Test qa extraction with an answerdiff --git a/test/python/testpipeline/testlabels.py b/test/python/testpipeline/testlabels.pyindex 57178d08..cb46599b 100644--- a/test/python/testpipeline/testlabels.py+++ b/test/python/testpipeline/testlabels.py@@ -30,15 +30,6 @@ class TestLabels(unittest.TestCase):cls.labels = Labels("prajjwal1/bert-medium-mnli")cls.similarity = Similarity(model=cls.labels)- @classmethod- def tearDownClass(cls):- """- Cleanup data.- """-- cls.labels = None- cls.similarity = None-def testLabel(self):"""Test labels with single text inputdiff --git a/test/python/testpipeline/testsummary.py b/test/python/testpipeline/testsummary.pyindex ac5a82dd..a73abdd5 100644--- a/test/python/testpipeline/testsummary.py+++ b/test/python/testpipeline/testsummary.py@@ -29,14 +29,6 @@ class TestSummary(unittest.TestCase):cls.summary = Summary("t5-small")- @classmethod- def tearDownClass(cls):- """- Cleanup data.- """-- cls.summary = None-def testSummary(self):"""Test summarization of textdiff --git a/test/python/testvectors/testtransformers.py b/test/python/testvectors/testtransformers.pyindex 6d28cbb0..85c065dd 100644--- a/test/python/testvectors/testtransformers.py+++ b/test/python/testvectors/testtransformers.py@@ -23,14 +23,6 @@ class TestTransformersVectors(unittest.TestCase):cls.model = VectorsFactory.create({"path": "sentence-transformers/nli-mpnet-base-v2"}, None)- @classmethod- def tearDownClass(cls):- """- Cleanup data- """-- cls.model = None-def testIndex(self):"""Test transformers indexing