14 unmodified lines151617181918192014 unmodified lines for message in client.chat_completion( messages, max_tokens = 100, #change length temperature = 0, #randomness top_p = 0.3, stream = True ): token = messages.choices[0].delta.content