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 comments

davidmezzetticf20ea49b699
diff --git a/src/python/txtai/pipeline/image/objects.py b/src/python/txtai/pipeline/image/objects.py
index bf1475a7..1f6cafda 100644
--- a/src/python/txtai/pipeline/image/objects.py
+++ b/src/python/txtai/pipeline/image/objects.py
@@ -38,7 +38,7 @@ class Objects(HFPipeline):
Args:
images: image|list
flatten: flatten output to a list of objects
- workers: number of parallel workers to use for processing data, defaults to none
+ workers: number of concurrent workers to use for processing data, defaults to None
Returns:
list of (label, score)
diff --git a/src/python/txtai/pipeline/text/labels.py b/src/python/txtai/pipeline/text/labels.py
index 2880287a..bbd188af 100644
--- a/src/python/txtai/pipeline/text/labels.py
+++ b/src/python/txtai/pipeline/text/labels.py
@@ -31,7 +31,7 @@ class Labels(HFPipeline):
labels: list of labels
multilabel: labels are independent if True, scores are normalized to sum to 1 per text item if False, raw scores returned if None
flatten: flatten output to a list of labels if present. Accepts a boolean or float value to only keep scores greater than that number.
- workers: number of parallel workers to use for processing data, defaults to None
+ workers: number of concurrent workers to use for processing data, defaults to None
Returns:
list of (id, score) or list of labels depending on flatten parameter
diff --git a/src/python/txtai/pipeline/text/questions.py b/src/python/txtai/pipeline/text/questions.py
index 0f147a6c..0f02e5d3 100644
--- a/src/python/txtai/pipeline/text/questions.py
+++ b/src/python/txtai/pipeline/text/questions.py
@@ -20,7 +20,7 @@ class Questions(HFPipeline):
Args:
questions: list of questions
contexts: list of contexts to pull answers from
- workers: number of parallel workers to use for processing data, defaults to none
+ workers: number of concurrent workers to use for processing data, defaults to None
Returns:
list of answers
diff --git a/src/python/txtai/pipeline/text/summary.py b/src/python/txtai/pipeline/text/summary.py
index b20b9790..302f8572 100644
--- a/src/python/txtai/pipeline/text/summary.py
+++ b/src/python/txtai/pipeline/text/summary.py
@@ -26,7 +26,7 @@ class Summary(HFPipeline):
text: text|list
minlength: minimum length for summary
maxlength: maximum length for summary
- workers: number of parallel workers to use for processing data, defaults to none
+ workers: number of concurrent workers to use for processing data, defaults to None
Returns:
summary text