async def process_url(
        self,
        url: str,
        is_image: bool = False,
        include_image_base64: bool = False,
    ) -> OCRResponse:
        """
        Process a document or image from a URL.

        Args:
            url: URL of the document or image
            is_image: Whether the URL points to an image
            include_image_base64: Whether to include image base64 in the response

        Returns:
            OCR response object
        """
        # Create the document data
        document_type = "image_url" if is_image else "document_url"
        document = {
            "type": document_type,
            document_type: url,
        }

        # Process the document
        task = {
            "document": document,
            "include_image_base64": include_image_base64,
        }

        return await self._execute_with_backoff_async(task)

        Process a document or image from a URL.

        Args:
            url: URL of the document or image
            is_image: Whether the URL points to an image
            include_image_base64: Whether to include image base64 in the response

        Returns:
            OCR response object
        
py/core/providers/ocr/mistral.py