I wrote the package to solve my own issue, I need a really lightweight interface to GPT and primarily from ipython.
Jupyter AI
21–30 of 37 posts
Re: Jupyter AI
#22This looks useful, but not quite what I hoped. GPT4 with Code Interpreter is a fun, frustrating experience where you’re writing a dialog about writing some code, sort of like pair programming or a code interview. Compared to a notebook, it’s terrible. The sandbox environment resets if you take a break. There’s also a quota, and if you hit that it forces taking a break, causing a reset. In a notebook, you could rerun…
You might find it interesting to try my open source ai coding tool “aider”. It lets you pair program with gpt-4 like you are describing. But the source code lives in your local git repo. You can start a new project or work with an existing repo. You can fluidly switch back and forth between a coding chat where you ask gpt to edit the code and your own editor to make edits yourself. https://github.com/paul-gauthier/ai…
Re: Jupyter AI
#23Re: Jupyter AI
#24I've tried a number of notebook AIs, jupyter ai, hex, deepnote, einblick. The one that worked best for me was einblick probably because it's data-aware. For AIs that don't support that you need to be overly specific when writing prompts, which is annoying, and you keep having to rename/reference the correct dataframes and variables (even more annoying).
Can you expand on this "data awareness"? What does it mean, and what are its benefits?
A couple of other benefits: - the AI will have an easier time automatically fixing runtime errors - it knows how to fix and transform user input into the correct data format, e.g., "san fancisco" => "San Francisco"
Re: Jupyter AI
#25This looks useful, but not quite what I hoped. GPT4 with Code Interpreter is a fun, frustrating experience where you’re writing a dialog about writing some code, sort of like pair programming or a code interview. Compared to a notebook, it’s terrible. The sandbox environment resets if you take a break. There’s also a quota, and if you hit that it forces taking a break, causing a reset. In a notebook, you could rerun…
You might find it interesting to try my open source ai coding tool “aider”. It lets you pair program with gpt-4 like you are describing. But the source code lives in your local git repo. You can start a new project or work with an existing repo. You can fluidly switch back and forth between a coding chat where you ask gpt to edit the code and your own editor to make edits yourself. https://github.com/paul-gauthier/ai…
I see someone make it work in Colab, though it looks like a bit of a hack and how they are handling credentials looks iffy.
Ultimately, I'd like the final result to be a tutorial-style blog post, so git isn't strictly required for my purposes. The conversation is as important as the code.
Re: Jupyter AI
#26This looks useful, but not quite what I hoped. GPT4 with Code Interpreter is a fun, frustrating experience where you’re writing a dialog about writing some code, sort of like pair programming or a code interview. Compared to a notebook, it’s terrible. The sandbox environment resets if you take a break. There’s also a quota, and if you hit that it forces taking a break, causing a reset. In a notebook, you could rerun…
You might find it interesting to try my open source ai coding tool “aider”. It lets you pair program with gpt-4 like you are describing. But the source code lives in your local git repo. You can start a new project or work with an existing repo. You can fluidly switch back and forth between a coding chat where you ask gpt to edit the code and your own editor to make edits yourself. https://github.com/paul-gauthier/ai…
I see someone make it work in Colab, though it looks like a bit of a hack and how they are handling credentials looks iffy.
Ultimately, I'd like the final result to be a tutorial-style blog post, so git isn't strictly required for my purposes. The conversation is as important as the code.
Re: Jupyter AI
#27Earlier quoted context omitted.
You might find it interesting to try my open source ai coding tool “aider”. It lets you pair program with gpt-4 like you are describing. But the source code lives in your local git repo. You can start a new project or work with an existing repo. You can fluidly switch back and forth between a coding chat where you ask gpt to edit the code and your own editor to make edits yourself. https://github.com/paul-gauthier/ai…
This looks like it might be quite nice for practical use. Does it work for a Jupyter notebook, including plotting things and making images? I see someone make it work in Colab, though it looks like a bit of a hack and how they are handling credentials looks iffy. Ultimately, I'd like the final result to be a tutorial-style blog post, so git isn't strictly required for my purposes. The conversation is as important as…
I have been sharing aider conversations [0] to help folks understand what it's like to pair program with GPT-4. I've had some users asking how they can share aider chat transcripts like this, so I'm hoping to add that capability soon. I don't think it's a full solution to your needs, but it might be helpful?
Re: Jupyter AI
#28Earlier quoted context omitted.
You might find it interesting to try my open source ai coding tool “aider”. It lets you pair program with gpt-4 like you are describing. But the source code lives in your local git repo. You can start a new project or work with an existing repo. You can fluidly switch back and forth between a coding chat where you ask gpt to edit the code and your own editor to make edits yourself. https://github.com/paul-gauthier/ai…
Seems very good! In the edit a whole repo example how do you account for many files i.e. many tokens? Can it also have a vector search?
Re: Jupyter AI
#29This looks useful, but not quite what I hoped. GPT4 with Code Interpreter is a fun, frustrating experience where you’re writing a dialog about writing some code, sort of like pair programming or a code interview. Compared to a notebook, it’s terrible. The sandbox environment resets if you take a break. There’s also a quota, and if you hit that it forces taking a break, causing a reset. In a notebook, you could rerun…
You might find it interesting to try my open source ai coding tool “aider”. It lets you pair program with gpt-4 like you are describing. But the source code lives in your local git repo. You can start a new project or work with an existing repo. You can fluidly switch back and forth between a coding chat where you ask gpt to edit the code and your own editor to make edits yourself. https://github.com/paul-gauthier/ai…
Re: Jupyter AI
#30"Installation via pip within Conda environment (recommended)"
This is one of the signs of Python's package management being too messy. I learnt NOT to use pip to install packages inside of conda environments after considerable pain. Now this guide says that's recommended?