Tasks
Building blocks
Tasks are the building blocks of Workflows. floatz AI answers each task, in a smart order, showing the answers when necessary or required.
Each task has the following structure:
#task: name
#optionalheader
#optionalheader
...
AI promptnameThe name of a task can be alphanumeric, both lower and uppercase, as well as contain underscore _ . Purely numerical names are supported such as:#task: 1optionalheaderEach task supports several settings. Each header can be used to change the AI behaviour, create task dependencies and so on. If no header is specified, the Workflow executes the AI prompt using the global navigation settings.AI promptThe prompt that will be answered by floatz AI for the given task.
Each Workflow can contain multiple tasks. For example, we can create a Workflow with two tasks:
#task: 1
how are you?
#task: 2
who built you?These tasks will be executed in order, and each answer will be streamed in the chat session by floatz AI.
In case of multiple tasks, all answers will be shown unless task linking is present and defined in an optional header.
We will explore in the next section how tasks can be linked between each other in order to create a more complex behaviour.
Last updated
