Workflows
Workflows are scenarios where the AI model has a single, well-defined task. The AI Toolkit includes these built-in workflows:
Insert content
More →Insert content in a single place of the document.
Proofreader
More →Tiptap Edit
More →A general-purpose workflow for making small and large edits to Tiptap documents.
Comments
More →Manage comments and threads in your Tiptap documents.
Each built-in workflow includes
- A ready-to-use prompt for the AI model.
- A method to execute the workflow and apply the edits to the Tiptap Editor.
Built-in workflows can be configured and extended. Additionally, you can create your own workflows from scratch with the AI Toolkit methods.
Workflows vs. AI Agents
In AI agents, the AI model can choose from a set of tools to perform a task. Workflows, on the other hand, only allow the AI model to perform a single action like, for example, generating edits or re-writing the document.
In general, workflows are simpler and faster to implement than AI agent tools. However, AI agents are more flexible and can be used to perform more complex tasks.