💡 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
davidmezzettia67870aefd8a
diff --git a/src/python/txtai/pipeline/data/textractor.py b/src/python/txtai/pipeline/data/textractor.pyindex 68865e78..cb4f13e7 100644--- a/src/python/txtai/pipeline/data/textractor.py+++ b/src/python/txtai/pipeline/data/textractor.py@@ -104,7 +104,7 @@ class Textractor(Segmentation):# Safe open validationif not self.safecheck(path):- raise IOError(f"Safeopen URL validation failed: {path}")+ raise IOError(f"Safeopen URL validation failed: path={os.path.realpath(path)}, safeopen={self.safeopen}")# Consider local files and HTTP urls validreturn (path if exists or urlparse(path).scheme in ("http", "https") else None, exists)diff --git a/test/python/testapi/testapipipeline.py b/test/python/testapi/testapipipeline.pyindex 618f67b3..e68fe09f 100644--- a/test/python/testapi/testapipipeline.py+++ b/test/python/testapi/testapipipeline.py@@ -58,6 +58,7 @@ tabular:# Text extractiontextractor:+ safeopen: /tmp/txtai# Text to speechtexttospeech: