Create a flow to execute list of tasks sequentially. #7055
Replies: 1 comment 14 replies
-
|
Hey @profnimrod 👋, I'm here to assist you with any bugs, questions, or contributions. Let's tackle this together! To execute a list of tasks sequentially while keeping the results of previous task processing in context, you can use the Sequential Task Agents system in Langflow. This system allows you to set up multiple AI agents, each specializing in specific tasks, and ensures that each agent builds on the work of the previous ones. Here's a step-by-step guide:
This setup allows each agent to maintain context and create a coherent output, ideal for tasks like writing essay subsections [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to execute a list of tasks (generated by a previous Agent) sequentially by an Agent, and also keep the results of the previous task processing in context so the Agent can refer to the output for previous tasks.
One such application might be to have an Agent that generates a list of tasks that ask the next agent to write a subsection of an essay. The processing agent then writes a section, but keep each previous section in context, when it writes the next section.
I have tried using JSON parsers to create a dataframe would be processing by a Loop component before the Agent that write each section, but it does not seem to be working.
Just looking for some conceptual guidance.
Beta Was this translation helpful? Give feedback.
All reactions