Using OpenAI APIs

Learn to use OpenAI models in Python: export Playground configs, install the library, and get API keys.

In addition to trying OpenAI models in the Playground, we can always call the models API in our custom code and embed models into our applications. In the right corner of the Playground, click the “View code” button and export the configuration as shown below:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy