async def generate_entities(self) -> AsyncGenerator[ChunkEntity, None]:
        """Generate all entities from Slack.

        Channels, Users, and Messages.
        """
        async with httpx.AsyncClient() as client:
            # Yield channel entities
            async for channel_entity in self._generate_channel_entities(client):
                yield channel_entity

                # For each channel, also yield message entities
                async for message_entity in self._generate_message_entities(
                    client, channel_entity.channel_id
                ):
                    yield message_entity

            # Yield user entities
            async for user_entity in self._generate_user_entities(client):
                yield user_entity
Generate all entities from Slack.

        Channels, Users, and Messages.
        
backend/airweave/platform/sources/slack.py