Put in order · Python course · Module 10: AI and Language Models

Function Calling Flow

Arrange the steps in the correct order:

Items to put in order

  • Send a request with tools to the model
  • Send the result back to the model
  • Execute the selected function
  • Model returns tool_calls
  • Define tools (function descriptions)

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