Live data from Hacker News

Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

github.com

11–20 of 32 posts

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#13

Thanks for sharing! For reference, some other Jupyter ChatGPT interface projects: https://github.com/jflam/chat-gpt-jupyter-extension https://github.com/fperez/jupytee https://github.com/JovanVeljanoski/jupyter-voicepilot

Thanks! I didn’t know about Jupytee. Before hacking ipython-gpt, I did a quick search and found the first one, but it works with a chrome extension (yikes), as it’s pre OpenAI API.

And I had seen the one with voice, which looks like an amazing PoC, but I wanted something text based.

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#14

> by default, the %%chat command preserves the conversation to give the Agent some context, in the same way that ChatGPT works. You can "reset" its status passing the flag --reset-conversation. What happens if you evaluate a bunch of cells in the notebook, then reset conversation and then evaluate say for example the 24th cell in the notebook? Does it get any additional context aside from said cell or not?

I should explain that better. The context preserved is just what has been invoked with `%%chat`. Any other cells are not passed as context.

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#15
post #11

I’m guessing this works with GPT-4 if your API key has access to it. Is that correct? Going to check this out, currently I’m just using a CLI.

Seems like GPT-4’s model is not yet available through the API. You can check the available models with the `%chat_models` line magic.

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#16
post #11

I’m guessing this works with GPT-4 if your API key has access to it. Is that correct? Going to check this out, currently I’m just using a CLI.

Seems like GPT-4’s model is not yet available through the API. You can check the available models with the `%chat_models` line magic.

You have to sign up for the waitlist: https://openai.com/waitlist/gpt-4-api

There is also a separate waitlist for ChatGPT plugins.

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#17

> by default, the %%chat command preserves the conversation to give the Agent some context, in the same way that ChatGPT works. You can "reset" its status passing the flag --reset-conversation. What happens if you evaluate a bunch of cells in the notebook, then reset conversation and then evaluate say for example the 24th cell in the notebook? Does it get any additional context aside from said cell or not?

I should explain that better. The context preserved is just what has been invoked with `%%chat`. Any other cells are not passed as context.

I see. But let’s say that cells #8, #12 and #23 were originally invoked with %%chat. What happens then if you “reset” and then run cell #24?

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#18

Earlier quoted context omitted.

I should explain that better. The context preserved is just what has been invoked with `%%chat`. Any other cells are not passed as context.

I see. But let’s say that cells #8, #12 and #23 were originally invoked with %%chat. What happens then if you “reset” and then run cell #24?

The same as if you ran cell #24 before anything else.

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#19
post #7

Congrats on the launch! I created Mito, a spreadsheet the lives inside of Jupyter. We've seen a ton of our users using Jupyter and ChatGPT playground side by side. We're also experimenting with bringing chatgpt into Jupyter through the Mito spreadsheet. ( https://blog.trymito.io/5-lessons-learned-from-adding-chatgp... ) Looking forward to trying this out.

Cocalc also has new "generate a Jupyter Notebook from a [ChatGPT] prompt" functionality. https://twitter.com/cocalc_com/status/1644427430223028225

Re: Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT

#20

Thanks for sharing! For reference, some other Jupyter ChatGPT interface projects: https://github.com/jflam/chat-gpt-jupyter-extension https://github.com/fperez/jupytee https://github.com/JovanVeljanoski/jupyter-voicepilot

Thanks! I didn’t know about Jupytee. Before hacking ipython-gpt, I did a quick search and found the first one, but it works with a chrome extension (yikes), as it’s pre OpenAI API. And I had seen the one with voice, which looks like an amazing PoC, but I wanted something text based.

There's no yikes, you install the extension from source and can use a different chrome profile
Post reply on HN