File size: 673 Bytes
dda982a
 
 
 
 
98482ce
dda982a
dbdd7c8
 
 
 
 
 
 
dda982a
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Parser implementations for document conversion."""

# Import all parsers to ensure they're registered
from src.parsers.gemini_flash_parser import GeminiFlashParser
from src.parsers.got_ocr_parser import GotOcrParser
from src.parsers.mistral_ocr_parser import MistralOcrParser

# Import MarkItDown parser if available - needs to be imported last so it's default
try:
    from src.parsers.markitdown_parser import MarkItDownParser
    print("MarkItDown parser imported successfully")
except ImportError as e:
    print(f"Error importing MarkItDown parser: {str(e)}")

# You can add new parsers here in the future 

# This file makes the parsers directory a Python package