def default_parse_structured_choice_select_answer(
    document_relevance_list: DocumentRelevanceList, num_choices: int
) -> Tuple[List[int], List[int]]:
    """
    Parse the answer from the choice select prompt.
    """
    documents = [
        doc
        for doc in document_relevance_list.documents
        if doc.document_number <= num_choices
    ]
    doc_numbers = [doc.document_number for doc in documents]
    doc_relevance_scores = [doc.relevance for doc in documents]
    return doc_numbers, doc_relevance_scores

    Parse the answer from the choice select prompt.
    
llama-index-core/llama_index/core/postprocessor/structured_llm_rerank.py