integrated auto gpt agent with baby agi boss worker

main
Kye 2 years ago
parent bca2f2e48b
commit cf103bde60

@ -201,3 +201,6 @@ In the context of swarm LLMs, one could consider an **Omni-Vector Embedding Data
* Add task completion logic with meta prompting, task evaluation as a state from 0.0 to 1.0, and critiquing for meta prompting. * Add task completion logic with meta prompting, task evaluation as a state from 0.0 to 1.0, and critiquing for meta prompting.
* Integrate meta prompting for every agent boss and worker * Integrate meta prompting for every agent boss and worker
* Get baby agi set up with the autogpt instance as a tool

@ -17,6 +17,8 @@ from langchain.agents import ZeroShotAgent, Tool, AgentExecutor
from langchain import OpenAI, SerpAPIWrapper, LLMChain from langchain import OpenAI, SerpAPIWrapper, LLMChain
from swarms.agents.workers.auto_agent import agent
# Define your embedding model # Define your embedding model
embeddings_model = OpenAIEmbeddings() embeddings_model = OpenAIEmbeddings()
# Initialize the vectorstore as empty # Initialize the vectorstore as empty
@ -43,6 +45,11 @@ tools = [
func=todo_chain.run, func=todo_chain.run,
description="useful for when you need to come up with todo lists. Input: an objective to create a todo list for. Output: a todo list for that objective. Please be very clear what the objective is!", description="useful for when you need to come up with todo lists. Input: an objective to create a todo list for. Output: a todo list for that objective. Please be very clear what the objective is!",
), ),
Tool(
name="AUTONOMOUS AGENT",
func=agent.run,
description="Useful for when you need to spawn an autonomous agent instance as a worker to accomplish complex tasks"
)
] ]

Loading…
Cancel
Save