Example code (cont.)
# imports
import openai  # for OpenAI API calls
import time  # for measuring time duration of API calls

1. What a typical chat completion response looks like
With a typical ChatCompletions API call, the response is first computed and then returned all at once.