def METHOD_NAME(self, sample: dict) -> Tuple[str, List[str]]:
    """
    Given an example in dataset format, create the prompt and the list of
    correct references.
    """
    prompt = ""
    prompt += f"Title: {sample['title']}\n\n"
    prompt += f"Background: {sample['background']}\n\n"
    prompt += f"Section: {sample['section_title']}\n"
    dialogue = sample["paragraphs"][0]
    context = dialogue["context"]
    assert context[-13:] == " CANNOTANSWER"
    context = context[:-13]
    prompt += f"Passage: {context}\n\n"
    qas = dialogue["qas"]
    num_qas = len(qas)
    k = random.randint(3, num_qas) - 1  # allow at least two QAs in dialogue
    for i in range(k - 1):
        prompt += f"Question: {qas[i]['question']}\n"
        prompt += f"Answer: {qas[i]['orig_answer']['text']}\n\n"
    prompt += f"Question: {qas[k]['question']}"
    answers = [ans["text"] for ans in qas[k]["answers"]]
    # De-duplicate the list with dict.fromkeys, which preserves the list order
    answers = list(dict.fromkeys(answers))
    if answers == ["CANNOTANSWER"]:
        answers.extend(["Not enough information", "Cannot answer", "Do not know"])
    return prompt, answers