Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Further simplify workflow unit test

davidmezzetti5fce31c44a54
diff --git a/test/python/testworkflow.py b/test/python/testworkflow.py
index 620bbe8e..7f0d0f9d 100644
--- a/test/python/testworkflow.py
+++ b/test/python/testworkflow.py
@@ -37,7 +37,7 @@ class TestWorkFlow(unittest.TestCase):
"""
textractor = Textractor(paragraphs=True, minlength=150, join=True)
- summary = Summary()
+ summary = Summary("sshleifer/distilbart-xsum-12-1")
translate = Translation()
embeddings = Embeddings({"method": "transformers", "path": "sentence-transformers/bert-base-nli-mean-tokens"})