Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Update scoring tests

davidmezzetti71233566715c
diff --git a/test/python/testscoring.py b/test/python/testscoring.py
index f5f3c203..2185947a 100644
--- a/test/python/testscoring.py
+++ b/test/python/testscoring.py
@@ -106,8 +106,8 @@ class TestScoring(unittest.TestCase):
index = os.path.join(tempfile.gettempdir(), "scoring")
os.makedirs(index, exist_ok=True)
- model.save(index)
- model.load(index)
+ model.save(f"{index}/scoring")
+ model.load(f"{index}/scoring")
return model