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.
Disk space is cheap and it also works with Chromium which is open source. There's no reason not to temporarily run a browser if you would install an app to get the feature. A lot of things that should be extensions are apps and this ought to stop.
That’s fair, but is super opinionated and probably off putting to a lot of people (myself included). Hence the “yikes”.
Your last point seems irrelevant. This is about where the extension belongs - no one is making an app in this discussion and I would argue that a Chrome extension is much closer to an app than a Jupyter/IPython extension.
> That’s fair, but is super opinionated and probably off putting to a lot of people
...who have an unreasonable distaste for browsers they don't use that makes them not willing to use them as secondary browsers. Better to install an open source secondary browser than to force developers to make an app rather than an extension. Every time you install an electron app, you're installing a poorly distributed browser.
> Hence the “yikes”.
That's not what "yikes" means in this context.
It's implying a security problem when it was in some ways more secure than OP's project. If you use a browser extension to automate a free web app, you won't get billed a lot like if you use an API key for a paid API.
> Your last point seems irrelevant. This is about where the extension belongs - no one is making an app in this discussion and I would argue that a Chrome extension is much closer to an app than a Jupyter/IPython extension.
An app would be the alternative to the thing that OP said "yikes" about, because ChatGPT requires a web browser. Think an Electron app that puts ChatGPT in a web view. This is done with Gmail a lot rather than extension. A bigger hoop and much less secure than having someone set up a Chrome/Chromium profile, but many people find that more palatable because of the misinfo that gets spread about extensions being a "yikes" in all situations when it really depends on the situation.
> 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?
You don't need an interface to just prompt and get a response from chatGPT it works pretty much out of the box with the API. I guess these interfaces make the interaction a bit more user friendly though.
https://github.com/jflam/chat-gpt-jupyter-extension https://github.com/fperez/jupytee https://github.com/JovanVeljanoski/jupyter-voicepilot