async def _convert_with_pypdf(self, local_path: str) -> Tuple[str, Optional[str]]:
        """Convert PDF using PyPDF2 as fallback.

        Args:
            local_path: Path to the PDF file

        Returns:
            Tuple of (markdown_content, title)

        Raises:
            ImportError: If PyPDF2 is not installed
        """
        import PyPDF2

        md_content = ""
        title = None

        with open(local_path, "rb") as file:
            reader = PyPDF2.PdfReader(file)

            # Try to extract title from metadata
            if reader.metadata and hasattr(reader.metadata, "title"):
                title = reader.metadata.title

            # Extract text from each page
            for _i, page in enumerate(reader.pages):
                page_text = page.extract_text()
                if page_text:
                    md_content += f"{page_text}"

        return md_content.strip(), title
Convert PDF using PyPDF2 as fallback.

        Args:
            local_path: Path to the PDF file

        Returns:
            Tuple of (markdown_content, title)

        Raises:
            ImportError: If PyPDF2 is not installed
        
backend/airweave/platform/file_handling/conversion/converters/pdf_converter.py