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

davidmezzettied95ce3c84ef
diff --git a/src/python/txtai/workflow/task/base.py b/src/python/txtai/workflow/task/base.py
index 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 False
Returns:
data
diff --git a/src/python/txtai/workflow/task/service.py b/src/python/txtai/workflow/task/service.py
index 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 to
method: http method, GET or POST
params: 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 element
extract: list of sections to extract from response
"""
@@ -40,7 +40,7 @@ class ServiceTask(Task):
self.method = method
self.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 element
self.batch = batch
# Save sections to extract. Supports both a single string and a hierarchical list of sections.