Using ChatGPT in Jupyter Notebooks

A Simple Implementation to Use OpenAI Chat Completions in Jupyter Notebooks

Sebastian Scholl

--

While working on a research project in JupyterLab, I found myself too frequently jumping back and forth between ChatGPT and the notebook. My research has to do with prompt engineering, so capturing the ongoing dialog is important. This encouraged me to write a small Python class…

--

--