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 configuration section for workflow tasks

davidmezzettiabf504f70eb6
diff --git a/docs/workflow/task/console.md b/docs/workflow/task/console.md
index cbb7bf4e..f9e1683a 100644
--- a/docs/workflow/task/console.md
+++ b/docs/workflow/task/console.md
@@ -22,8 +22,9 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: console
+ name:
+ tasks:
+ - task: console
```
## Methods
diff --git a/docs/workflow/task/export.md b/docs/workflow/task/export.md
index 35348d8f..532ab55b 100644
--- a/docs/workflow/task/export.md
+++ b/docs/workflow/task/export.md
@@ -22,8 +22,9 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: export
+ name:
+ tasks:
+ - task: export
```
## Methods
diff --git a/docs/workflow/task/file.md b/docs/workflow/task/file.md
index c41e5b3d..751019db 100644
--- a/docs/workflow/task/file.md
+++ b/docs/workflow/task/file.md
@@ -22,8 +22,9 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: file
+ name:
+ tasks:
+ - task: file
```
## Methods
diff --git a/docs/workflow/task/image.md b/docs/workflow/task/image.md
index e96507e1..70cb1643 100644
--- a/docs/workflow/task/image.md
+++ b/docs/workflow/task/image.md
@@ -22,8 +22,9 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: image
+ name:
+ tasks:
+ - task: image
```
## Methods
diff --git a/docs/workflow/task/index.md b/docs/workflow/task/index.md
index 1d0a1554..ba56d503 100644
--- a/docs/workflow/task/index.md
+++ b/docs/workflow/task/index.md
@@ -35,8 +35,9 @@ Tasks can also be created with configuration as part of a workflow.
```yaml
workflow:
- tasks:
- - action: summary
+ name:
+ tasks:
+ - action: summary
```
::: txtai.workflow.Task.__init__
diff --git a/docs/workflow/task/retrieve.md b/docs/workflow/task/retrieve.md
index 31fddbcd..fd828d93 100644
--- a/docs/workflow/task/retrieve.md
+++ b/docs/workflow/task/retrieve.md
@@ -22,9 +22,10 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: retrieve
- directory: /tmp
+ name:
+ tasks:
+ - task: retrieve
+ directory: /tmp
```
## Methods
diff --git a/docs/workflow/task/service.md b/docs/workflow/task/service.md
index ad6ccefe..af6ab8be 100644
--- a/docs/workflow/task/service.md
+++ b/docs/workflow/task/service.md
@@ -22,9 +22,10 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: service
- url: https://service.url/action
+ name:
+ tasks:
+ - task: service
+ url: https://service.url/action
```
## Methods
diff --git a/docs/workflow/task/storage.md b/docs/workflow/task/storage.md
index 0045e152..30867262 100644
--- a/docs/workflow/task/storage.md
+++ b/docs/workflow/task/storage.md
@@ -22,8 +22,9 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: storage
+ name:
+ tasks:
+ - task: storage
```
## Methods
diff --git a/docs/workflow/task/template.md b/docs/workflow/task/template.md
index 4462e904..7053e206 100644
--- a/docs/workflow/task/template.md
+++ b/docs/workflow/task/template.md
@@ -23,9 +23,10 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: template
- template: This is a {text} task
+ name:
+ tasks:
+ - task: template
+ template: This is a {text} task
```
## Methods
diff --git a/docs/workflow/task/url.md b/docs/workflow/task/url.md
index af0909ff..b7b5c92d 100644
--- a/docs/workflow/task/url.md
+++ b/docs/workflow/task/url.md
@@ -22,8 +22,9 @@ This task can also be created with workflow configuration.
```yaml
workflow:
- tasks:
- - task: url
+ name:
+ tasks:
+ - task: url
```
## Methods