5
0 Comments

How to use the new ChatGPT API by OpenAI in 2 lines of code

The ChatGPT API is finally released!
Here is how you use it in Python: https://imgur.com/a/cw6TZl5

Don't forget to import it via import openai. If you were already using openai, you need to upgrade it to be able to use their new API :) It's as simple as pip install --upgrade openai.

, Founder of Icon for Excelly-AI
Excelly-AI
on March 3, 2023