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

Tools in OpenAI

How do you define tools in the OpenAI API?

Answer options

  • As JSON files
  • As a list of dictionaries describing functions and parameters
  • As Python classes
  • As npm modules

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