async def _convert_csv_to_markdown(self, local_path: str) -> str:
        """Convert CSV file to markdown table.

        Args:
            local_path: Path to the CSV file

        Returns:
            Markdown table content
        """
        md_content = ""
        csv_data = []

        with open(local_path, "r", encoding="utf-8") as csv_file:
            csv_reader = csv.reader(csv_file)
            for row in csv_reader:
                csv_data.append(row)

        if csv_data:
            # Create header
            md_content += "| " + " | ".join(csv_data[0]) + " |\n"
            md_content += "|" + "|".join(["---" for _ in csv_data[0]]) + "|\n"

            # Add data rows
            for row in csv_data[1:]:
                md_content += "| " + " | ".join(row) + " |\n"

        return md_content
Convert CSV file to markdown table.

        Args:
            local_path: Path to the CSV file

        Returns:
            Markdown table content
        
backend/airweave/platform/file_handling/conversion/converters/txt_converter.py