Show HN: Use ChatGPT in Jupyter notebooks via a Chrome extension https://ift.tt/Etj18F5

Show HN: Use ChatGPT in Jupyter notebooks via a Chrome extension Hello HN! Here's a browser extension that brings together two things that I love: Jupyter and ChatGPT. It makes it possible to have ChatGPT generate code inside your Jupyter notebooks. It has the side effect of making it really easy to save your ChatGPT sessions in a local notebook. I parse the ChatGPT response, extract it into code cells for you automatically so that you no longer have to copy and paste code from your browser into your favorite code editor like an animal. ChatGPT even wrote some of the code used in this extension! The extension [1] from user:wonderfuly forms the core of messaging with the ChatGPT service; it works great! All the other mistakes are mine and mine alone. I'm not a web dev, so I'm sure there's lots of horrible hacks and mistakes that I made while writing this extension. Help welcome. [1] https://ift.tt/pn0fVvi https://ift.tt/5cOyBTF December 11, 2022 at 07:39PM

Comments