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

Streaming in API

What is the stream=True parameter used for in the API?

Answer options

  • For encrypting communication
  • For saving the response to a file
  • For data compression
  • For receiving the response in real time, token by token

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