The file gpt3.py is used to interface the open ai's GPT-3 API.
The source of this file is - https://github.com/shreyashankar/gpt3-sandbox
The use-cases implemented using the API can be found in the script - GPT3-Implementation.ipynb
If you need access to the Open AI API then join the waitlist here - https://beta.openai.com