Monday, December 12, 2022

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

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/51OzyEt https://ift.tt/ZoVJ0rg December 12, 2022 at 09:09AM

No comments:

Post a Comment

Show HN: Pocket2Linkding – Migrate from Mozilla Pocket to Linkding https://ift.tt/IwYJfju

Show HN: Pocket2Linkding – Migrate from Mozilla Pocket to Linkding With the Mozilla Pocket shutdown coming up in about two weeks, I thought ...