Live data from Hacker News

Jupyter AI

jupyter-ai.readthedocs.io

31–37 of 37 posts

Re: Jupyter AI

#31

Earlier quoted context omitted.

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…

Right now aider isn't integrated with jupyter notebooks, but it is certainly on the roadmap. 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? [0] https://aider…

Yes, more or less. I'd want to paste the output into an editor and then edit it into somewhat more polished prose. For many blogging tools, perhaps Markdown would be best?

I also wouldn't want the whole thing to look like a terminal window or to contain diffs, since the idea wouldn't be to represent aider or GPT4's output faithfully. Instead, the dialog would be about two characters who make additions to some code, like you do in a repl or notebook. Being able to download the notebook would be nice too.

This seems rather different (and more specialized) than the git-based approach that aider uses, so it's probably a different tool that I should get to writing someday.

Re: Jupyter AI

#32
This is very cool! Coincidentally, I just spent an hour playing with this on Google Colab before seeing the docs posted here on HN.

While I don’t find this to be a life changing new thing, it is useful and the ChatGPT output is formatted beautifully. I use an iPad a lot when I am reading and doing quick code experiments about what I am reading so Colab with the CodePilot like functionality, and things like ChatGPT support really make Colab more than OK for quick code experiments, especially when I need an A100 GPU.

Re: Jupyter AI

#33
post #3

“Welcome to Jupyter AI, which brings generative AI to Jupyter” Kinda strange statement. I think of Jupyter as one of the places generative AI originated!

This innocent announcement is how it begins. “Lemmy help you with that… yeah grab a few more GPUs for me, thx…! much appreciated!”

Re: Jupyter AI

#34

Installation section: "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?

I installed this with pipenv with no issues. It looks to me like they’re just recommending that you do not install in the global Python, not specifically recommending Conda.

Re: Jupyter AI

#35

Earlier quoted context omitted.

Right now aider isn't integrated with jupyter notebooks, but it is certainly on the roadmap. 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? [0] https://aider…

Yes, more or less. I'd want to paste the output into an editor and then edit it into somewhat more polished prose. For many blogging tools, perhaps Markdown would be best? I also wouldn't want the whole thing to look like a terminal window or to contain diffs, since the idea wouldn't be to represent aider or GPT4's output faithfully. Instead, the dialog would be about two characters who make additions to some code, l…

If you are happy with markdown, aider already logs the conversations that way. You can find them in `.aider.chat.history.md`.

Re: Jupyter AI

#36
I made something similar just for fun: https://github.com/aleksanderhan/labpilot It seems Jupyter is perfect for these kinds of code assist tools. Instead of going to Wikipedia and scratching your head about how this algorithm worked again, you can just mention what you want and have a rough/good enough implementation in no time.
Post reply on HN