💡 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
Update test
davidmezzettib05abd20f38e
diff --git a/test/python/testpipeline/testdata/testtextractor.py b/test/python/testpipeline/testdata/testtextractor.pyindex 30589172..ed007301 100644--- a/test/python/testpipeline/testdata/testtextractor.py+++ b/test/python/testpipeline/testdata/testtextractor.py@@ -4,6 +4,8 @@ Textractor module testsimport unittest+import torch+from txtai.pipeline import Textractor# pylint: disable = C0411@@ -54,6 +56,9 @@ class TestTextractor(unittest.TestCase):Test docling backend"""+ # Set default device to CPU+ torch.set_default_device("cpu")+textractor = Textractor(backend="docling")# Extract text and check for Markdown formatting