From b0c7843e3d56764674f88e6b53a0ce2558f17fe9 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 14 Jul 2023 23:25:19 -0400 Subject: [PATCH] clean up Former-commit-id: 552c056a979f7786f829ef405ae5b1da957e889c --- swarms/swarms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/swarms.py b/swarms/swarms.py index f0be8a51..a2628e53 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -114,7 +114,7 @@ class Swarms: # Initialize boss node llm = self.initialize_llm(llm_class) - todo_prompt = PromptTemplate.from_template("You are a boss planer in a swarm who is an expert at coming up with a todo list for a given objective and then creating an worker to help you accomplish your task. Come up with a todo list for this objective: {objective} and then spawn a worker agent to complete the task for you. Always spawn an worker agent after creating a plan and pass the objective and plan to the worker agent.") + todo_prompt = PromptTemplate.from_template("You are a boss planer in a swarm who is an expert at coming up with a todo list for a given objective and then creating an worker to help you accomplish your task. Rate every task on the importance of it's probability to complete the main objective on a scale from 0 to 1, an integer. Come up with a todo list for this objective: {objective} and then spawn a worker agent to complete the task for you. Always spawn an worker agent after creating a plan and pass the objective and plan to the worker agent.") todo_chain = LLMChain(llm=llm, prompt=todo_prompt) tools = [