-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add babyagi
into agents
#194
Conversation
Emmm, it seems like most checks are failed. Still working on it. |
Thanks, @hychen-naza for the PR. No worries. We will take a look at it soon. |
Thanks for the MR. For those who is not familiar with this paper, please put 2-3 sentenses of description of what BabyAGI is and how it is different from RolePlaying. |
Here is a writeup from the authors: https://yoheinakajima.com/task-driven-autonomous-agent-utilizing-gpt-4-pinecone-and-langchain-for-diverse-applications/. |
Hi, thanks for your review and comments. Babyagi Agent is explained at the description of this PR. Also, I have updated the Babyagi Agent to make it inherit from Base Agent, according to #198 (comment). A few questions about the MR check failures: |
Thanks for the overview of BabyAGI in the description. This is really helpful. @lightaime what about the binary blobs. We should not add them to the repo. @hychen-naza Is there a way to not add parquet and other binary stuff to the repo: create them or download? |
@lightaime @Obs01ete Mind taking a look to see what's wrong, the docs github action failed is really weird to me |
Thanks guys. I created a new branch and PR for debugging, #210 |
Description
Add
babyagi code
under camel agents, and put its itsexample code
andtesting code
in corresponding folders. It's my first commit, and I appreciate your feedback and suggestions to make my code better align with yours.Babyagi Agent works by running an infinite loop that does the following steps:
1, Pulls the first task from the task list.
2, Sends the task to the execution agent, which uses OpenAI's API to complete the task based on the context.
3, Enriches the result and stores it in Chroma.
4, Creates new tasks and reprioritizes the task list based on the objective and the result of the previous task.
Compared to role-play, which has AI user and AI assistant, Babyagi Agent gives itself instructions through task creation and solve solutions by task execution.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
close #187
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply.If you are unsure about any of these, don't hesitate to ask. We are here to help!