Open AI
- Lets create an API Key for Open AI
- Navigate to open ai key generation to generate the key
- Now open system -> Advance keys and create a key with name
OPENAI_API_KEYwith value copied from above step - Now restart terminals in windows and in other operating systems using
source ~/.bashrcto load environment variables
First interaction with open ai using python libraries
- Create a new folder and activate virtual environment.
- Now launch vs code and select this environment
- Lets create a file called as
openai_trails.ipynb - Refer Here for openAI api reference
