💡 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
davidmezzettied95ce3c84ef
diff --git a/src/python/txtai/workflow/task/base.py b/src/python/txtai/workflow/task/base.pyindex 8709212e..0648b44d 100644--- a/src/python/txtai/workflow/task/base.py+++ b/src/python/txtai/workflow/task/base.py@@ -187,7 +187,7 @@ class Task:Args:element: input data element- force: if true data is unpacked even if task has unpack set to False+ force: if True, data is unpacked even if task has unpack set to FalseReturns:datadiff --git a/src/python/txtai/workflow/task/service.py b/src/python/txtai/workflow/task/service.pyindex bbb6bb17..12557fdd 100644--- a/src/python/txtai/workflow/task/service.py+++ b/src/python/txtai/workflow/task/service.py@@ -27,7 +27,7 @@ class ServiceTask(Task):url: url to connect tomethod: http method, GET or POSTparams: default query parameters- batch: If True, all elements are passed in a single batch request, otherwise a service call is executed per element+ batch: if True, all elements are passed in a single batch request, otherwise a service call is executed per elementextract: list of sections to extract from response"""@@ -40,7 +40,7 @@ class ServiceTask(Task):self.method = methodself.params = params- # If true, all elements are passed in a single batch request, otherwise a service call is executed per element+ # If True, all elements are passed in a single batch request, otherwise a service call is executed per elementself.batch = batch# Save sections to extract. Supports both a single string and a hierarchical list of sections.