15 unmodified lines161718191920212215 unmodified lines response = client.chat_completion( messages, max_tokens = 10, # to change the length max_tokens = 100, # to change the length temperature = .9, #randomization top_p = .7 )