Skip to content

converter_configs

Class info

Classes

Name Children Inherits
AggregatedConverterConfig
docler_config.converter_configs
Configuration for the aggregated converter.
    AzureConfig
    docler_config.converter_configs
    Configuration for Azure Document Intelligence converter.
      BaseConverterConfig
      docler_config.converter_configs
      Base configuration for document converters.
      DataLabConfig
      docler_config.converter_configs
      Configuration for DataLab-based converter.
        DoclingConverterConfig
        docler_config.converter_configs
        Configuration for docling-based converter.
          DoclingRemoteConfig
          docler_config.converter_configs
          Configuration for remote Docling service.
            LLMConverterConfig
            docler_config.converter_configs
            Configuration for LLM-based converter.
              LlamaParseConfig
              docler_config.converter_configs
              Configuration for LlamaParse-based converter.
                MarkItDownConfig
                docler_config.converter_configs
                Configuration for MarkItDown-based converter.
                  MarkerConfig
                  docler_config.converter_configs
                  Configuration for Marker-based converter.
                    MistralConfig
                    docler_config.converter_configs
                    Configuration for Mistral-based converter.
                      UpstageConfig
                      docler_config.converter_configs
                      Configuration for Upstage Document AI converter.

                        🛈 DocStrings

                        Converter configuration.

                        LlamaParseMode module-attribute

                        LlamaParseMode = Literal['parse_page_without_llm', 'parse_page_with_llm', 'parse_page_with_agent']
                        

                        Legacy LlamaParse parse modes still accepted by the API.

                        parse_page_with_lvm and parse_document_with_llm were retired upstream; use a LlamaParseTier instead.

                        LlamaParseTier module-attribute

                        LlamaParseTier = Literal['cost_effective', 'agentic', 'agentic_plus']
                        

                        LlamaParse parsing tiers (the API's replacement for parse modes).

                        AggregatedConverterConfig

                        Bases: BaseConverterConfig

                        Configuration for the aggregated converter.

                        Source code in src/docler_config/converter_configs.py
                        class AggregatedConverterConfig(BaseConverterConfig):
                            """Configuration for the aggregated converter."""
                        
                            type: Literal["aggregated"] = Field(default="aggregated", init=False)
                            """Type discriminator for aggregated converter."""
                        
                            converters: list[ConverterConfig] = Field(default_factory=list)
                            """List of converter configurations to use."""
                        
                            mime_preferences: dict[str, str] = Field(default_factory=dict)
                            """Mapping of MIME types or extensions to preferred converter names."""
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.aggregated_converter import AggregatedConverter
                        
                                return AggregatedConverter.from_config(self)
                        

                        converters class-attribute instance-attribute

                        converters: list[ConverterConfig] = Field(default_factory=list)
                        

                        List of converter configurations to use.

                        mime_preferences class-attribute instance-attribute

                        mime_preferences: dict[str, str] = Field(default_factory=dict)
                        

                        Mapping of MIME types or extensions to preferred converter names.

                        type class-attribute instance-attribute

                        type: Literal['aggregated'] = Field(default='aggregated', init=False)
                        

                        Type discriminator for aggregated converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.aggregated_converter import AggregatedConverter
                        
                            return AggregatedConverter.from_config(self)
                        

                        AzureConfig

                        Bases: BaseConverterConfig

                        Configuration for Azure Document Intelligence converter.

                        Source code in src/docler_config/converter_configs.py
                        class AzureConfig(BaseConverterConfig):
                            """Configuration for Azure Document Intelligence converter."""
                        
                            type: Literal["azure"] = Field("azure", init=False)
                            """Type discriminator for Azure converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            endpoint: str | None = None
                            """Azure endpoint URL. Falls back to AZURE_DOC_INTELLIGENCE_ENDPOINT envvar."""
                        
                            api_key: SecretStr | None = None
                            """Azure API key. Falls back to AZURE_DOC_INTELLIGENCE_KEY env var (read by the converter)."""
                        
                            model: AzureModel = "prebuilt-layout"
                            """Pre-trained model to use."""
                        
                            additional_features: set[AzureFeatureFlag] = Field(default_factory=set)
                            """Optional add-on capabilities like BARCODES, FORMULAS, OCR_HIGH_RESOLUTION etc."""
                        
                            model_config = SettingsConfigDict(env_prefix="AZURE_DOC_INTELLIGENCE_")
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.azure_provider import AzureConverter
                        
                                return AzureConverter(**self.get_config_fields())
                        

                        additional_features class-attribute instance-attribute

                        additional_features: set[AzureFeatureFlag] = Field(default_factory=set)
                        

                        Optional add-on capabilities like BARCODES, FORMULAS, OCR_HIGH_RESOLUTION etc.

                        api_key class-attribute instance-attribute

                        api_key: SecretStr | None = None
                        

                        Azure API key. Falls back to AZURE_DOC_INTELLIGENCE_KEY env var (read by the converter).

                        endpoint class-attribute instance-attribute

                        endpoint: str | None = None
                        

                        Azure endpoint URL. Falls back to AZURE_DOC_INTELLIGENCE_ENDPOINT envvar.

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        model class-attribute instance-attribute

                        model: AzureModel = 'prebuilt-layout'
                        

                        Pre-trained model to use.

                        type class-attribute instance-attribute

                        type: Literal['azure'] = Field('azure', init=False)
                        

                        Type discriminator for Azure converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.azure_provider import AzureConverter
                        
                            return AzureConverter(**self.get_config_fields())
                        

                        BaseConverterConfig

                        Bases: ProviderConfig

                        Base configuration for document converters.

                        Source code in src/docler_config/converter_configs.py
                        class BaseConverterConfig(ProviderConfig):
                            """Base configuration for document converters."""
                        
                            page_range: PageRangeString | None = None
                            """Page range(s) to extract, like "1-5,7-10" (1-based)."""
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                raise NotImplementedError
                        

                        page_range class-attribute instance-attribute

                        page_range: PageRangeString | None = None
                        

                        Page range(s) to extract, like "1-5,7-10" (1-based).

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            raise NotImplementedError
                        

                        DataLabConfig

                        Bases: BaseConverterConfig

                        Configuration for DataLab-based converter.

                        Source code in src/docler_config/converter_configs.py
                        class DataLabConfig(BaseConverterConfig):
                            """Configuration for DataLab-based converter."""
                        
                            type: Literal["datalab"] = Field("datalab", init=False)
                            """Type discriminator for DataLab converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            api_key: SecretStr | None = None
                            """DataLab API key. If None, will try env var DATALAB_API_KEY."""
                        
                            force_ocr: bool = False
                            """Whether to force OCR on every page."""
                        
                            use_llm: bool = False
                            """Whether to use LLM for enhanced accuracy."""
                        
                            max_pages: int | None = Field(default=None, ge=1)
                            """Maximum number of pages to process."""
                        
                            model_config = SettingsConfigDict(env_prefix="DATALAB_")
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.datalab_provider import DataLabConverter
                        
                                return DataLabConverter(**self.get_config_fields())
                        

                        api_key class-attribute instance-attribute

                        api_key: SecretStr | None = None
                        

                        DataLab API key. If None, will try env var DATALAB_API_KEY.

                        force_ocr class-attribute instance-attribute

                        force_ocr: bool = False
                        

                        Whether to force OCR on every page.

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        max_pages class-attribute instance-attribute

                        max_pages: int | None = Field(default=None, ge=1)
                        

                        Maximum number of pages to process.

                        type class-attribute instance-attribute

                        type: Literal['datalab'] = Field('datalab', init=False)
                        

                        Type discriminator for DataLab converter.

                        use_llm class-attribute instance-attribute

                        use_llm: bool = False
                        

                        Whether to use LLM for enhanced accuracy.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.datalab_provider import DataLabConverter
                        
                            return DataLabConverter(**self.get_config_fields())
                        

                        DoclingConverterConfig

                        Bases: BaseConverterConfig

                        Configuration for docling-based converter.

                        Source code in src/docler_config/converter_configs.py
                        class DoclingConverterConfig(BaseConverterConfig):
                            """Configuration for docling-based converter."""
                        
                            type: Literal["docling"] = Field("docling", init=False)
                            """Type discriminator for docling converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            image_scale: float = Field(default=2.0, gt=0)
                            """Scale factor for image resizing."""
                        
                            generate_images: bool = True
                            """Whether to generate images."""
                        
                            ocr_engine: (
                                DoclingEngine
                                # | EasyOcrOptions
                                # | TesseractCliOcrOptions
                                # | TesseractOcrOptions
                                # | OcrMacOptions
                                # | RapidOcrOptions
                            ) = "rapid_ocr"
                            """OCR engine to use. Defaults to RapidOCR, which the `docling` extra installs."""
                        
                            model_config = SettingsConfigDict(env_prefix="DOCLING_")
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.docling_provider import DoclingConverter
                        
                                return DoclingConverter(**self.get_config_fields())
                        

                        generate_images class-attribute instance-attribute

                        generate_images: bool = True
                        

                        Whether to generate images.

                        image_scale class-attribute instance-attribute

                        image_scale: float = Field(default=2.0, gt=0)
                        

                        Scale factor for image resizing.

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        ocr_engine class-attribute instance-attribute

                        ocr_engine: DoclingEngine = 'rapid_ocr'
                        

                        OCR engine to use. Defaults to RapidOCR, which the docling extra installs.

                        type class-attribute instance-attribute

                        type: Literal['docling'] = Field('docling', init=False)
                        

                        Type discriminator for docling converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.docling_provider import DoclingConverter
                        
                            return DoclingConverter(**self.get_config_fields())
                        

                        DoclingRemoteConfig

                        Bases: BaseConverterConfig

                        Configuration for remote Docling service.

                        Source code in src/docler_config/converter_configs.py
                        class DoclingRemoteConfig(BaseConverterConfig):
                            """Configuration for remote Docling service."""
                        
                            type: Literal["docling_remote"] = Field("docling_remote", init=False)
                            """Type discriminator for remote docling converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            api_key: SecretStr | None = None
                            """Optional API key for auth."""
                        
                            endpoint: HttpUrl = HttpUrl("http://localhost:5001")
                            """Base URL of the Docling service."""
                        
                            timeout: float = Field(default=300.0, gt=0)
                            """HTTP timeout in seconds (large PDFs take minutes). Env: DOCLING_REMOTE_TIMEOUT."""
                        
                            ocr_engine: DoclingEngine = "easy_ocr"
                            """OCR engine to use."""
                        
                            pdf_backend: str = "dlparse_v4"
                            """PDF backend to use."""
                        
                            table_mode: Literal["fast", "accurate"] = "fast"
                            """Table mode to use."""
                        
                            force_ocr: bool = False
                            """Whether to force OCR even on digital documents."""
                        
                            image_scale: float = Field(default=2.0, gt=0)
                            """Scale factor for image resolution."""
                        
                            do_table_structure: bool = True
                            """Extract table structure."""
                        
                            do_code_enrichment: bool = False
                            """Enable code extraction."""
                        
                            do_formula_enrichment: bool = False
                            """Enable formula extraction."""
                        
                            do_picture_classification: bool = False
                            """Enable picture classification."""
                        
                            do_picture_description: bool = False
                            """Enable picture description."""
                        
                            model_config = SettingsConfigDict(env_prefix="DOCLING_REMOTE_")
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.docling_remote_provider import DoclingRemoteConverter
                        
                                return DoclingRemoteConverter(**self.get_config_fields())
                        

                        api_key class-attribute instance-attribute

                        api_key: SecretStr | None = None
                        

                        Optional API key for auth.

                        do_code_enrichment class-attribute instance-attribute

                        do_code_enrichment: bool = False
                        

                        Enable code extraction.

                        do_formula_enrichment class-attribute instance-attribute

                        do_formula_enrichment: bool = False
                        

                        Enable formula extraction.

                        do_picture_classification class-attribute instance-attribute

                        do_picture_classification: bool = False
                        

                        Enable picture classification.

                        do_picture_description class-attribute instance-attribute

                        do_picture_description: bool = False
                        

                        Enable picture description.

                        do_table_structure class-attribute instance-attribute

                        do_table_structure: bool = True
                        

                        Extract table structure.

                        endpoint class-attribute instance-attribute

                        endpoint: HttpUrl = HttpUrl('http://localhost:5001')
                        

                        Base URL of the Docling service.

                        force_ocr class-attribute instance-attribute

                        force_ocr: bool = False
                        

                        Whether to force OCR even on digital documents.

                        image_scale class-attribute instance-attribute

                        image_scale: float = Field(default=2.0, gt=0)
                        

                        Scale factor for image resolution.

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        ocr_engine class-attribute instance-attribute

                        ocr_engine: DoclingEngine = 'easy_ocr'
                        

                        OCR engine to use.

                        pdf_backend class-attribute instance-attribute

                        pdf_backend: str = 'dlparse_v4'
                        

                        PDF backend to use.

                        table_mode class-attribute instance-attribute

                        table_mode: Literal['fast', 'accurate'] = 'fast'
                        

                        Table mode to use.

                        timeout class-attribute instance-attribute

                        timeout: float = Field(default=300.0, gt=0)
                        

                        HTTP timeout in seconds (large PDFs take minutes). Env: DOCLING_REMOTE_TIMEOUT.

                        type class-attribute instance-attribute

                        type: Literal['docling_remote'] = Field('docling_remote', init=False)
                        

                        Type discriminator for remote docling converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.docling_remote_provider import DoclingRemoteConverter
                        
                            return DoclingRemoteConverter(**self.get_config_fields())
                        

                        LLMConverterConfig

                        Bases: BaseConverterConfig

                        Configuration for LLM-based converter.

                        Source code in src/docler_config/converter_configs.py
                        class LLMConverterConfig(BaseConverterConfig):
                            """Configuration for LLM-based converter."""
                        
                            type: Literal["llm"] = Field("llm", init=False)
                            """Type discriminator for LLM converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            model: ModelIdentifier = DEFAULT_CONVERTER_MODEL
                            """LLM model to use."""
                        
                            system_prompt: str = LLM_SYSTEM_PROMPT
                            """Optional system prompt to guide conversion."""
                        
                            user_prompt: str = LLM_USER_PROMPT
                            """Custom prompt for the conversion task."""
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.llm_provider import LLMConverter
                        
                                return LLMConverter(**self.get_config_fields())
                        

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        model class-attribute instance-attribute

                        model: ModelIdentifier = DEFAULT_CONVERTER_MODEL
                        

                        LLM model to use.

                        system_prompt class-attribute instance-attribute

                        system_prompt: str = LLM_SYSTEM_PROMPT
                        

                        Optional system prompt to guide conversion.

                        type class-attribute instance-attribute

                        type: Literal['llm'] = Field('llm', init=False)
                        

                        Type discriminator for LLM converter.

                        user_prompt class-attribute instance-attribute

                        user_prompt: str = LLM_USER_PROMPT
                        

                        Custom prompt for the conversion task.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.llm_provider import LLMConverter
                        
                            return LLMConverter(**self.get_config_fields())
                        

                        LlamaParseConfig

                        Bases: BaseConverterConfig

                        Configuration for LlamaParse-based converter.

                        Source code in src/docler_config/converter_configs.py
                        class LlamaParseConfig(BaseConverterConfig):
                            """Configuration for LlamaParse-based converter."""
                        
                            type: Literal["llamaparse"] = Field("llamaparse", init=False)
                            """Type discriminator for LlamaParse converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            api_key: SecretStr | None = None
                            """LlamaParse API key. Falls back to LLAMAPARSE_API_KEY env var."""
                        
                            adaptive_long_table: bool = False
                            """Whether to use adaptive long table."""
                        
                            parse_mode: LlamaParseMode = "parse_page_with_llm"
                            """Legacy parse mode, used when no `tier` is set."""
                        
                            tier: LlamaParseTier | None = None
                            """Parsing tier. Takes precedence over `parse_mode` when set."""
                        
                            skip_diagonal_text: bool = False
                            """Whether to skip diagonal text."""
                        
                            disable_ocr: bool = False
                            """Whether to disable OCR for images."""
                        
                            continuous_mode: bool = True
                            """Merge tables spanning pages. Only supported with a `tier`."""
                        
                            html_tables: bool = False
                            """Whether to output HTML tables instead of markdown."""
                        
                            model_config = SettingsConfigDict(env_prefix="LLAMAPARSE_")
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.llamaparse_provider import LlamaParseConverter
                        
                                return LlamaParseConverter(**self.get_config_fields())
                        

                        adaptive_long_table class-attribute instance-attribute

                        adaptive_long_table: bool = False
                        

                        Whether to use adaptive long table.

                        api_key class-attribute instance-attribute

                        api_key: SecretStr | None = None
                        

                        LlamaParse API key. Falls back to LLAMAPARSE_API_KEY env var.

                        continuous_mode class-attribute instance-attribute

                        continuous_mode: bool = True
                        

                        Merge tables spanning pages. Only supported with a tier.

                        disable_ocr class-attribute instance-attribute

                        disable_ocr: bool = False
                        

                        Whether to disable OCR for images.

                        html_tables class-attribute instance-attribute

                        html_tables: bool = False
                        

                        Whether to output HTML tables instead of markdown.

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        parse_mode class-attribute instance-attribute

                        parse_mode: LlamaParseMode = 'parse_page_with_llm'
                        

                        Legacy parse mode, used when no tier is set.

                        skip_diagonal_text class-attribute instance-attribute

                        skip_diagonal_text: bool = False
                        

                        Whether to skip diagonal text.

                        tier class-attribute instance-attribute

                        tier: LlamaParseTier | None = None
                        

                        Parsing tier. Takes precedence over parse_mode when set.

                        type class-attribute instance-attribute

                        type: Literal['llamaparse'] = Field('llamaparse', init=False)
                        

                        Type discriminator for LlamaParse converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.llamaparse_provider import LlamaParseConverter
                        
                            return LlamaParseConverter(**self.get_config_fields())
                        

                        MarkItDownConfig

                        Bases: BaseConverterConfig

                        Configuration for MarkItDown-based converter.

                        Source code in src/docler_config/converter_configs.py
                        class MarkItDownConfig(BaseConverterConfig):
                            """Configuration for MarkItDown-based converter."""
                        
                            type: Literal["markitdown"] = Field("markitdown", init=False)
                            """Type discriminator for MarkItDown converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.markitdown_provider import MarkItDownConverter
                        
                                return MarkItDownConverter(**self.get_config_fields())
                        

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        type class-attribute instance-attribute

                        type: Literal['markitdown'] = Field('markitdown', init=False)
                        

                        Type discriminator for MarkItDown converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.markitdown_provider import MarkItDownConverter
                        
                            return MarkItDownConverter(**self.get_config_fields())
                        

                        MarkerConfig

                        Bases: BaseConverterConfig

                        Configuration for Marker-based converter.

                        Source code in src/docler_config/converter_configs.py
                        class MarkerConfig(BaseConverterConfig):
                            """Configuration for Marker-based converter."""
                        
                            type: Literal["marker"] = Field("marker", init=False)
                            """Type discriminator for Marker converter."""
                        
                            dpi: int = Field(default=192, gt=0)
                            """DPI setting for image extraction."""
                        
                            llm_provider: MarkerLLMProvider | None = None
                            """Language model provider to use for OCR."""
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.marker_provider import MarkerConverter
                        
                                return MarkerConverter(**self.get_config_fields())
                        

                        dpi class-attribute instance-attribute

                        dpi: int = Field(default=192, gt=0)
                        

                        DPI setting for image extraction.

                        llm_provider class-attribute instance-attribute

                        llm_provider: MarkerLLMProvider | None = None
                        

                        Language model provider to use for OCR.

                        type class-attribute instance-attribute

                        type: Literal['marker'] = Field('marker', init=False)
                        

                        Type discriminator for Marker converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.marker_provider import MarkerConverter
                        
                            return MarkerConverter(**self.get_config_fields())
                        

                        MistralConfig

                        Bases: BaseConverterConfig

                        Configuration for Mistral-based converter.

                        Source code in src/docler_config/converter_configs.py
                        class MistralConfig(BaseConverterConfig):
                            """Configuration for Mistral-based converter."""
                        
                            type: Literal["mistral"] = Field("mistral", init=False)
                            """Type discriminator for Mistral converter."""
                        
                            languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                            """List of supported languages for the converter."""
                        
                            api_key: SecretStr | None = None
                            """Mistral API key. If None, will try env var MISTRAL_API_KEY."""
                        
                            model_config = SettingsConfigDict(env_prefix="MISTRAL_")
                        
                            # right now there only is one model
                            # ocr_model: str = "mistral-ocr-latest"
                            # """Mistral OCR model to use."""
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.mistral_provider import MistralConverter
                        
                                return MistralConverter(**self.get_config_fields())
                        

                        api_key class-attribute instance-attribute

                        api_key: SecretStr | None = None
                        

                        Mistral API key. If None, will try env var MISTRAL_API_KEY.

                        languages class-attribute instance-attribute

                        languages: set[SupportedLanguage] = Field(default_factory=default_languages)
                        

                        List of supported languages for the converter.

                        type class-attribute instance-attribute

                        type: Literal['mistral'] = Field('mistral', init=False)
                        

                        Type discriminator for Mistral converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.mistral_provider import MistralConverter
                        
                            return MistralConverter(**self.get_config_fields())
                        

                        UpstageConfig

                        Bases: BaseConverterConfig

                        Configuration for Upstage Document AI converter.

                        Source code in src/docler_config/converter_configs.py
                        class UpstageConfig(BaseConverterConfig):
                            """Configuration for Upstage Document AI converter."""
                        
                            type: Literal["upstage"] = Field("upstage", init=False)
                            """Type discriminator for Upstage converter."""
                        
                            api_key: SecretStr | None = None
                            """Upstage API key. Falls back to UPSTAGE_API_KEY env var."""
                        
                            base_url: HttpUrl = HttpUrl("https://api.upstage.ai/v1/document-ai/document-parse")
                            """API endpoint URL."""
                        
                            # model: str = "document-parse"
                            # """Model name for document parsing."""
                        
                            ocr: UpstageOCRType = "auto"
                            """OCR mode ('auto' or 'force')."""
                        
                            base64_categories: set[UpstageCategory] = Field(default_factory=_default_base64_categories)
                            """Element categories to encode in base64."""
                        
                            model_config = SettingsConfigDict(env_prefix="UPSTAGE_")
                        
                            def get_provider(self) -> DocumentConverter:
                                """Get the converter instance."""
                                from docler.converters.upstage_provider import UpstageConverter
                        
                                return UpstageConverter(**self.get_config_fields())
                        

                        api_key class-attribute instance-attribute

                        api_key: SecretStr | None = None
                        

                        Upstage API key. Falls back to UPSTAGE_API_KEY env var.

                        base64_categories class-attribute instance-attribute

                        base64_categories: set[UpstageCategory] = Field(default_factory=_default_base64_categories)
                        

                        Element categories to encode in base64.

                        base_url class-attribute instance-attribute

                        base_url: HttpUrl = HttpUrl('https://api.upstage.ai/v1/document-ai/document-parse')
                        

                        API endpoint URL.

                        ocr class-attribute instance-attribute

                        ocr: UpstageOCRType = 'auto'
                        

                        OCR mode ('auto' or 'force').

                        type class-attribute instance-attribute

                        type: Literal['upstage'] = Field('upstage', init=False)
                        

                        Type discriminator for Upstage converter.

                        get_provider

                        get_provider() -> DocumentConverter
                        

                        Get the converter instance.

                        Source code in src/docler_config/converter_configs.py
                        def get_provider(self) -> DocumentConverter:
                            """Get the converter instance."""
                            from docler.converters.upstage_provider import UpstageConverter
                        
                            return UpstageConverter(**self.get_config_fields())