Add Workflow
1. Navigate to workflows section from the sidebar
2. This table shows the list of all workflows
3. Click on "Add workflow"
4. You'll be redirected to the add workflow interface
5. Click on this dropdown to select a project
6. Select your project for the workflow
7. Enter a name for the workflow
8. On the left, you can see two buttons
9. On the bottom left, you have some view controls as well
10. Click on "Add supervisor"
You have the option to choose between two types of supervisors:
-
Router: Dynamically selects and validates the most relevant assistant's response based on the query, ensuring the best possible answer is delivered.
-
Consolidator: Aggregates the responses from all assistants, providing a comprehensive answer that reflects the relevance of each assistant's input.
11. By default, A Router component will be added to the workflow
you can drag the components to make the workflow clean and manageable
12. Click on the Router component to view its options
13. Click on this icon to switch the supervisor type to consolidator
14. Now we have a consolidator component
We have added the supervisor now, let's select assistants for the workflow next
15. Click on the Assistant component
16. This opens the "Configure Assistant" tab on the right
17. Click on "Select assistant"
18. A popup with the list of assistants in your project will open
19. Select one of the assistants
20. Lets select the second assistant the same way
21. Click on "Select assistant"
22. Select another assistant
23. For this scenario, a router supervisor could be a better choice
24. Click on this icon to switch the supervisor type to router
25. Click on the assistant button to add more assistants to the workflow
26. We get a new assistant component under the supervisor
For simplicity in this tutorial, we can keep the workflow to two assistants, so let's remove the third one