Find answers from the community

Updated 9 months ago

```retriever =

Plain Text
retriever = DocumentSummaryIndexLLMRetriever(
    doc_summary_index,
    # choice_select_prompt=None,
    # choice_batch_size=10,
    # choice_top_k=1,
    # format_node_batch_fn=None,
    # parse_choice_select_answer_fn=None,
)
Can someone explain
Plain Text
parse_choice_select_answer_fn
?
L
k
3 comments
The LLM is presented with several summaries, and has to pick which one to use. You can override how this is parsed
This is the default
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord