Workflows
Last updated
Last updated
Process automations in Arcee Orchestra are built via workflows. Workflows are a collection of actions which automate a specific business task. These actions, aka "components" or "nodes", can be requests to an SLM or LLM, external API calls, code execution, queries to a vector database, integrations into over 200+ built-in connectors, conditionals/decisions, aggregations, and more. Each action will be covered in-depth in Components.
Workflows are executed along a graph node by node allowing for complete flexibility and customization. Take for example the simple workflow below:
In the start node, a variable prompt is defined which expects text as input.
When a prompt is received, two built-in integrations for search, Serpapi and Tavily, are invoked where the query is the prompt entered by the user.
The articles retrieved from these integrations are then passed to a model node to analyze the articles and provide an answer to the user's query.
The model's response is then provided back to the user.
Workflows are built by defining and connecting nodes together. In the video above, you are walked through how to create a simple workflow to generate a travel itinerary for a given location and have the itinerary emailed to you.
This initial example serves as a basis for how workflow components work together. The real power of Orchestra comes from when you connect your business applications to a workflow to execute relevant and impactful automations.
When invoking workflows through the chat interface, simply select the tool from the tool bar and submit a prompt. The model router will determine what tool to call based on the prompt and forward the request to the determined workflow. Navigate to Chat Interface for more information.
Workflows scale at the node level meaning when your traffic increases they automatically scale to meet your traffic demands.