Python: Using the OpenAI API with InstructGPT

How to query Generative Pre-trained Transformers programmatically.

Daniel Ellis Research

--

Photo by Gertrūda Valasevičiūtė on Unsplash

In recent months (article written Nov 22), Generative Pre-trained Transformers have taken the world by storm. They seem to be the solution to many tasks, but also the epoch of many many headaches. In this quick and simple tutorial, I talk through how to use the OpenAI API in…

--

--

Daniel Ellis Research

Research Software Engineer specialising in High-Performance Computing and Data Visualisation. — PhD in Atmospheric Chemistry and Masters in Theoretical Physics.