💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Update comments
davidmezzetticf20ea49b699
diff --git a/src/python/txtai/pipeline/image/objects.py b/src/python/txtai/pipeline/image/objects.pyindex 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|listflatten: 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 NoneReturns:list of (label, score)diff --git a/src/python/txtai/pipeline/text/labels.py b/src/python/txtai/pipeline/text/labels.pyindex 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 labelsmultilabel: labels are independent if True, scores are normalized to sum to 1 per text item if False, raw scores returned if Noneflatten: 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 NoneReturns:list of (id, score) or list of labels depending on flatten parameterdiff --git a/src/python/txtai/pipeline/text/questions.py b/src/python/txtai/pipeline/text/questions.pyindex 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 questionscontexts: 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 NoneReturns:list of answersdiff --git a/src/python/txtai/pipeline/text/summary.py b/src/python/txtai/pipeline/text/summary.pyindex 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|listminlength: minimum length for summarymaxlength: 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 NoneReturns:summary text