Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.14 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.14 KB

PyGPT

A python code that is Equivalent to chat GPT using openai library of python

We need openai library to use ChatGPT with Python, run the following command in terminal: pip install openai

Steps to get your own API key

1.The OpenAI website can be accessed at 👉 https://openai.com/ Click On API image

2.Sign Up or login into the site(if you have used chatGPT before then you can go for login else register your self into the site using signUp)

3.After the step 2 the following 👇 window would appear

3.1)click on personal image

3.2)Click on "view API keys" image

4.Generation of API key : Click on the geneate API ket button,after the key is generated, you can copy the key and paste it in the code image