def get_dialog(
            self,
            messages: Optional[List[Sequence[str]]] = None,
            system_prompt: Optional[str] = ""
    ) -> List[str]:
        """
        Returns a list containing 2 * n elements where the 2k-th is a query and the (2k+1)-th is a response.
        """
        return self._format_example(messages, system_prompt)

        Returns a list containing 2 * n elements where the 2k-th is a query and the (2k+1)-th is a response.
        
pycorrector/gpt/gpt_utils.py