Gen-AI Developer Classroom notes 13/Apr/2025

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_KEY with value copied from above step
  • Now restart terminals in windows and in other operating systems using source ~/.bashrc to 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

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading