def __init__(self, collection_name: str) -> None:
        """
        Initialize BagelReader.

        Args: collection_name: Name of the collection to load from.

        Returns: None
        """
        try:
            import bagel
        except ImportError:
            raise ImportError(
                "`bagel` package not found, please run `pip install bagel`"
            )
        from bagel.config import Settings

        if not collection_name:
            raise ValueError("collection_name cannot be empty")

        self.collection_name = collection_name

        server_settings = Settings(
            bagel_api_impl="rest", bagel_server_host="api.bageldb.ai"
        )

        self.client = bagel.Client(server_settings)

        self._collection = self.client.get_cluster(collection_name)

        Initialize BagelReader.

        Args: collection_name: Name of the collection to load from.

        Returns: None
        
llama-index-integrations/readers/llama-index-readers-bagel/llama_index/readers/bagel/base.py