def METHOD_NAME(self, messages: Sequence[ChatMessage], **kwargs: Any) -> ChatResponse:
    prompt = self.messages_to_prompt(messages)
    completion_response = self.complete(prompt, formatted=True, **kwargs)
    return completion_response