Skip to content

Update Readme to include how to initialize Azure Document Intelligence correctly? #1446

Closed

Description

@hf-fdsilva

Could someone provide an updated readme or how to, on how to initialize the markitdown package to use Azure Document Intelligence via api key, esp with python?

the only thing I'm seeing on the readme is pointing to an endpoint, but there doesn't seem to be any documentation on what it expects for the API key if you aren't using Azure AD to auth to Doc Intel service.

The only semblence of information I found from browsing through the issues tab is this (from #1168):

Initialize MarkItDown

md = MarkItDown(docintel_endpoint = AZURE_DOC_INT_ENDPOINT,
docintel_file_types = ['pdf'],
docintel_credential = AzureKeyCredential(AZURE_DOC_INT_KEY))

Thanks!

Activity

  1. vienna780418-gif commented on Dec 15, 2025

    @vienna780418-gif

    Start from beginning

  2. chienyuanchang commented on Oct 26, 2026

    @chienyuanchang
    Member

    Thanks, hf-fdsilva, for raising this documentation gap. It was resolved by #1913, which has now merged. The README documents explicit
    AzureKeyCredential usage, the AZURE_API_KEY environment variable, and the DefaultAzureCredential fallback for Document Intelligence. Thanks also to 贺苏桓 (@hshgogogo) for contributing the focused documentation in #1634 that was incorporated into the merged solution, and to Stable Genius (@stablegenius49) for the related API-key documentation proposal in #1603.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions