def from_defaults(
        cls,
        chunk_size: int = 1200,
        window_size: int = 11,
        llm_workers: int = 1,
        llm: Optional[LLM] = None,
        token_counter: Optional[TokenCounter] = None,
        sentence_splitter: Optional[Callable[[str], List[str]]] = None,
        callback_manager: Optional[CallbackManager] = None,
        id_func: Optional[Callable[[int, Document], str]] = None,
    ) -> "SlideNodeParser":
        """Create instance of the class with default values."""
        from llama_index.core import Settings

        callback_manager = callback_manager or CallbackManager([])
        id_func = id_func or default_id_func
        llm = llm or Settings.llm
        token_counter = token_counter or TokenCounter()
        sentence_splitter = sentence_splitter or split_by_sentence_tokenizer()

        return cls(
            callback_manager=callback_manager,
            id_func=id_func,
            chunk_size=chunk_size,
            window_size=window_size,
            llm_workers=llm_workers,
            llm=llm,
            token_counter=token_counter,
            sentence_splitter=sentence_splitter,
        )
Create instance of the class with default values.
llama-index-integrations/node_parser/llama-index-node-parser-slide/llama_index/node_parser/slide/base.py