GithubHelp home page GithubHelp logo

Implement reflection about auto-gpt HOT 12 CLOSED

mijhaels avatar mijhaels commented on July 19, 2024 27
Implement reflection

from auto-gpt.

Comments (12)

Torantulino avatar Torantulino commented on July 19, 2024 33

No worries at all, and never let being a junior stop you, the absolute best way to learn is by trying and failing!

from auto-gpt.

Torantulino avatar Torantulino commented on July 19, 2024 13

That it VERY interesting indeed. I've been playing about with getting Auto-GPT to improve itself and write it's own code, this might just be the ticket!

Executing unreviewed AI Generated code is a security risk though, so we'd have to think of the safest way to do this.

Submit a pull request!

from auto-gpt.

mijhaels avatar mijhaels commented on July 19, 2024 7

I code but only know about web programming, and I'm a junior too... sorry Haha

from auto-gpt.

younghuman avatar younghuman commented on July 19, 2024 2

I'm planning to implement this over the weekend. Another best paper for self-reflection is this: https://arxiv.org/abs/2304.03442

They also have a way of evaluating the agents with some questions.

@Torantulino @Andythem23

from auto-gpt.

NotoriousPyro avatar NotoriousPyro commented on July 19, 2024 1

Executing unreviewed AI Generated code is a security risk though, so we'd have to think of the safest way to do this.

Probably best to have it raise pull requests so that they can be reviewed manually.

from auto-gpt.

algopapi avatar algopapi commented on July 19, 2024 1

I kinda implemented this. In my implementation I let the agent reflect every N steps which can be quite interesting but requires more testing.

from auto-gpt.

LeonardoLGDS avatar LeonardoLGDS commented on July 19, 2024 1

Also, probably will have to create some kind of benchmarks so that the AI can know the direction it needs to go. "Improve itself" can be a bit vague

from auto-gpt.

aristotaloss avatar aristotaloss commented on July 19, 2024 1

If anyone can get me a GPT4 key, either directly via your org with prepayment or by getting me in touch with someone at OpenAI, I'm willing to implement it. I think it could be a lot of fun, and to add an edge, I'll do it on a fresh Linux w/ firewalled access to only the OpenAI API, and a USB chainsaw.

Jk, not the chainsaw.

from auto-gpt.

Bearnardd avatar Bearnardd commented on July 19, 2024

Around weekend I will do a little bit of research around this topic. @algopapi would you mind sharing your implementation? Have you pushed it on your fork?

from auto-gpt.

Bearnardd avatar Bearnardd commented on July 19, 2024

@LeonardoLGDS I had no time to check the paper yet but I assumed there are some guidelines on benchmarking provided in paper

from auto-gpt.

Boostrix avatar Boostrix commented on July 19, 2024

That it VERY interesting indeed. I've been playing about with getting Auto-GPT to improve itself and write it's own code, this might just be the ticket!

I guess, a starting point would be accepting actual constraints/restrictions, aka:

  • context window size (restrict to 8k, ideally much less, probably 50% of that)
  • restrict changes to a single isolated module (which would mean commands or even better plugins)
  • accept that the underlying architecture would then need to work analogous to message passing, and possibly via pipes - anything else won't scale or would change too many places in the source tree at once, basically any agent would consist of a list of other sub-agents, all of which would fork each other as needed (think makefiles/clustering)
  • alternatively, come up with a module that can deal with patches/diffs for features spanning multiple files/contexts initially
  • to provide sufficient surrounding context, freely use Python docstrings - basically reject PRs that don't have a ton of surrounding context in the form of comments and a ton of unit tests/test coverage
  • extend git_operations.py to add support for traversing commit logs (patches + log messages)
  • come up with a new plugin to handle github API integration, as per: #15 (comment)
  • have unit tests and benchmarks for regression testing purposes
  • improve docker integration for CI
  • use a custom local LLM to come up with a heatmap (query/idea -> location) that helps identify path/file name and line number based on querying the LLM for an idea/change, so that the agent can determine what set of files/places is likely to be relevant for certain changes, and then narrow down via git logs and commit history

from auto-gpt.

github-actions avatar github-actions commented on July 19, 2024

This issue was closed automatically because it has been stale for 10 days with no activity.

from auto-gpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.