Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Fixed build error

davidmezzetti12d0685e1a82
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c5ea83f9..1d8d5f58 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -24,6 +24,7 @@ jobs:
run: |
pip install -U pip wheel coverage coveralls
pip install .
+ python -c "import nltk; nltk.download('punkt')"
python --version
make coverage
diff --git a/test/python/testvectors.py b/test/python/testvectors.py
index 997fe024..1f6b508d 100644
--- a/test/python/testvectors.py
+++ b/test/python/testvectors.py
@@ -39,7 +39,7 @@ class TestVectors(unittest.TestCase):
# Test non-existent path raises an exception
with self.assertRaises(IOError):
- Vectors.create("words", os.path.join(tempfile.gettempdir(), "noexist", True, None)
+ Vectors.create("words", os.path.join(tempfile.gettempdir(), "noexist"), True, None)
def testLookup(self):
"""