Skip to content

Commit

Permalink
removing apollo from superagi workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TransformerOptimus committed Aug 17, 2023
1 parent a9a8392 commit f8e9127
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions superagi/agent/workflow_seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,22 @@ class AgentWorkflowSeed:
def build_sales_workflow(cls, session):
agent_workflow = AgentWorkflow.find_or_create_by_name(session, "Sales Engagement Workflow",
"Sales Engagement Workflow")
step1 = AgentWorkflowStep.find_or_create_tool_workflow_step(session, agent_workflow.id,
str(agent_workflow.id) + "_step1",
ApolloSearchTool().name,
"Search for leads based on the given goals",
step_type="TRIGGER")

step2 = AgentWorkflowStep.find_or_create_tool_workflow_step(session, agent_workflow.id,
str(agent_workflow.id) + "_step2",
WriteFileTool().name,
"Write the leads to a csv file")
# step1 = AgentWorkflowStep.find_or_create_tool_workflow_step(session, agent_workflow.id,
# str(agent_workflow.id) + "_step1",
# ApolloSearchTool().name,
# "Search for leads based on the given goals",
# step_type="TRIGGER")
#
# step2 = AgentWorkflowStep.find_or_create_tool_workflow_step(session, agent_workflow.id,
# str(agent_workflow.id) + "_step2",
# WriteFileTool().name,
# "Write the leads to a csv file")

step3 = AgentWorkflowStep.find_or_create_tool_workflow_step(session, agent_workflow.id,
str(agent_workflow.id) + "_step3",
ReadFileTool().name,
"Read the leads from the file generated in the previous run")
"Read the leads from the file generated in the previous run",
step_type="TRIGGER")

# task queue ends when the elements gets over
step4 = AgentWorkflowStep.find_or_create_tool_workflow_step(session, agent_workflow.id,
Expand Down

0 comments on commit f8e9127

Please sign in to comment.