Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Remove deprecated packages, closes #114

davidmezzetti8ff136b22b6b
diff --git a/src/python/txtai/extractor/__init__.py b/src/python/txtai/extractor/__init__.py
deleted file mode 100644
index e83805a6..00000000
--- a/src/python/txtai/extractor/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-"""
-Defined to maintain backwards compatibility
-"""
-
-from ..pipeline.extractor import Extractor
diff --git a/src/python/txtai/tokenizer/__init__.py b/src/python/txtai/tokenizer/__init__.py
deleted file mode 100644
index 0ec75bba..00000000
--- a/src/python/txtai/tokenizer/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-"""
-Defined to maintain backwards compatibility
-"""
-
-from ..pipeline.tokenizer import Tokenizer
diff --git a/test/python/testextractor.py b/test/python/testextractor.py
index 821b2550..9c25184c 100644
--- a/test/python/testextractor.py
+++ b/test/python/testextractor.py
@@ -6,7 +6,7 @@ import platform
import unittest
from txtai.embeddings import Embeddings
-from txtai.extractor import Extractor
+from txtai.pipeline import Extractor
class TestExtractor(unittest.TestCase):
diff --git a/test/python/testtokenizer.py b/test/python/testtokenizer.py
index 4ab035b7..9924a635 100644
--- a/test/python/testtokenizer.py
+++ b/test/python/testtokenizer.py
@@ -4,7 +4,7 @@ Tokenizer module tests
import unittest
-from txtai.tokenizer import Tokenizer
+from txtai.pipeline import Tokenizer
class TestTokenizer(unittest.TestCase):