[HN Gopher] Show HN: IPython-GPT, a Jupyter/IPython Interface to...
       ___________________________________________________________________
        
       Show HN: IPython-GPT, a Jupyter/IPython Interface to Chat GPT
        
       Author : santiagobasulto
       Score  : 108 points
       Date   : 2023-04-15 14:33 UTC (8 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | whoevercares wrote:
       | From core maintainers of Jupyter -
       | https://github.com/jupyterlab/jupyter-ai
        
       | jetml wrote:
       | Hey, kudos on getting this out. I just opened sourced a similar
       | tool for the JetML platform.
       | 
       | https://github.com/jetml/jetmlgpt
       | 
       | Would love to collaborate!
        
       | textcortex wrote:
       | We released ICortex ai powered python interpreter half a year ago
       | or so: https://github.com/textcortex/icortex
        
       | codetrotter wrote:
       | > 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?
        
         | santiagobasulto wrote:
         | I should explain that better. The context preserved is just
         | what has been invoked with `%%chat`. Any other cells are not
         | passed as context.
        
           | codetrotter wrote:
           | 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?
        
             | wodenokoto wrote:
             | The same as if you ran cell #24 before anything else.
        
       | kolibril13 wrote:
       | 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
        
         | santiagobasulto wrote:
         | 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.
        
           | benatkin wrote:
           | There's no yikes, you install the extension from source and
           | can use a different chrome profile
        
       | bt1a wrote:
       | 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.
        
         | santiagobasulto wrote:
         | 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.
        
           | akiselev wrote:
           | You have to sign up for the waitlist:
           | https://openai.com/waitlist/gpt-4-api
           | 
           | There is also a separate waitlist for ChatGPT plugins.
        
       | musingsole wrote:
       | This is awesome! The IPython prompt was the last place I expected
       | a tool like this, but I'm very excited to use it!
        
       | aarondia wrote:
       | 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.
        
         | westurner wrote:
         | Cocalc also has new "generate a Jupyter Notebook from a
         | [ChatGPT] prompt" functionality.
         | https://twitter.com/cocalc_com/status/1644427430223028225
        
       | thedebuglife wrote:
       | This looks promising! I'm following.
        
       | westurner wrote:
       | This would be great in conjunction with e.g. papermill for
       | running the same prompts over time and with the model as a
       | parameter.
       | 
       | Do IPython-GPT or jetmlgpt work in JupyterLite in WASM in a
       | browser tab?
        
         | jetml wrote:
         | I have only tested jetmlgpt using Jupyter notebooks.
        
       ___________________________________________________________________
       (page generated 2023-04-15 23:00 UTC)