AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

feat(agent): add jupyter support

Open MKdir98 opened this issue 1 year ago β€’ 11 comments

Background

Changes πŸ—οΈ

PR Quality Scorecard ✨

  • [x] Have you used the PR description template?   +2 pts
  • [ ] Is your pull request atomic, focusing on a single change?   +5 pts
  • [ ] Have you linked the GitHub issue(s) that this PR addresses?   +5 pts
  • [ ] Have you documented your changes clearly and comprehensively?   +5 pts
  • [ ] Have you changed or added a feature?   -4 pts
    • [ ] Have you added/updated corresponding documentation?   +4 pts
    • [ ] Have you added/updated corresponding integration tests?   +5 pts
  • [ ] Have you changed the behavior of AutoGPT?   -5 pts
    • [ ] Have you also run agbenchmark to verify that these changes do not regress performance?   +10 pts

MKdir98 avatar Feb 08 '24 14:02 MKdir98

Deploy Preview for auto-gpt-docs ready!

Name Link
Latest commit 33ac87ba7b8ca8cbe4909f08f259170e1f4a437a
Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/65c9d6fae0545d000887a774
Deploy Preview https://deploy-preview-6809--auto-gpt-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 08 '24 14:02 netlify[bot]

I think this is a good start! Would love a Jupyter notebook file with access to autogpt’s loop for modifications and code complete for the issue

ntindle avatar Feb 08 '24 15:02 ntindle

I think this is a good start! Would love a Jupyter notebook file with access to autogpt’s loop for modifications and code complete for the issue

I was just thinking and I think it's good we have a folder as notebooks in agents folder. It should be in gitignore. we can put some examples. Can we do that? And this is what you want?(a notebook for test?)

MKdir98 avatar Feb 09 '24 10:02 MKdir98

I pushed a notebook and add some example of how we can work with it. https://github.com/Significant-Gravitas/AutoGPT/pull/6809/files#diff-e5fc957a7351f7a6fc4ca9edf51a394d305ed1e02068c6887a8f81d73f4e42db

MKdir98 avatar Feb 09 '24 12:02 MKdir98

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

github-actions[bot] avatar Feb 11 '24 14:02 github-actions[bot]

@Pwuts ready for review. Goal is an initial example of notebook in repo, then AutoGPT in one

ntindle avatar Feb 12 '24 01:02 ntindle

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

github-actions[bot] avatar Feb 12 '24 08:02 github-actions[bot]

I fixed lint and pushed it again

MKdir98 avatar Feb 12 '24 08:02 MKdir98

A few initial notes:

  • Please fill out the PR description template. That way we don't have to guess about the goal and thoughts behind the PR.
  • The core objective of #5132, which this PR seems to revolve around, is to make the Python environment available to the agent persistent.

Pwuts avatar Feb 13 '24 09:02 Pwuts

A Jupyter notebook can be part of an implementation for #5132 (see comment above). That being said, this PR doesn't address the actual integration with the agent.

Using Jupyter notebooks for quick prototyping and development is definitely useful! But: this should need minimal setup in the repo itself. VSCode has near-builtin support for editing Jupyter notebooks, and there's also Google Colab which allows working on notebooks in git repos.

Oh sorry. I misunderstood this one. I read the issue again, and now I understand it. Let me investigate more about the main task.

MKdir98 avatar Feb 13 '24 12:02 MKdir98

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Feb 13 '24 15:02 github-actions[bot]