Question · Python course · Module 10: AI and Language Models

OpenAI API

How do you install the OpenAI library in Python?

Answer options

  • npm install openai
  • pip install gpt4
  • pip install openai
  • pip install chatgpt

You can check the correct answer by solving this task in the CodeWorlds game.