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 comment

davidmezzetti07f6bc1abebe
diff --git a/src/python/txtai/workflow/task/url.py b/src/python/txtai/workflow/task/url.py
index 355e06b7..056d5637 100644
--- a/src/python/txtai/workflow/task/url.py
+++ b/src/python/txtai/workflow/task/url.py
@@ -16,5 +16,5 @@ class UrlTask(Task):
PREFIX = r"\w+:\/\/"
def accept(self, element):
- # Only accept file URLs
+ # Only accept elements that start with a url prefix
return super().accept(element) and re.match(UrlTask.PREFIX, element.lower())