def METHOD_NAME(self):
    response = openai.ChatCompletion.create(
        model=self.model_name,
        messages=self.turns,
        temperature=self.temperature,
        top_p=self.top_p,
        stop=self.stop_sequence,
        max_tokens=self.max_tokens,
        presence_penalty=self.presence_penalty,
        frequency_penalty=self.frequency_penalty,
    )
    return response