def METHOD_NAME(
    cls,
    retriever_tools: Sequence[RetrieverTool],
    service_context: Optional[ServiceContext] = None,
    selector: Optional[BaseSelector] = None,
    select_multi: bool = False,
) -> "RouterRetriever":
    selector = selector or get_selector_from_context(
        service_context or ServiceContext.METHOD_NAME(), is_multi=select_multi
    )
    return cls(
        selector,
        retriever_tools,
        service_context=service_context,
    )