fix: update Azure Document Intelligence parser to use prebuilt-layout model

This commit is contained in:
Anish Sarkar 2026-04-10 20:40:54 +05:30
parent 649f315dba
commit bb5b90e5bd

View file

@ -36,7 +36,7 @@ async def parse_with_azure_doc_intelligence(file_path: str) -> str:
async with client:
with open(file_path, "rb") as f:
poller = await client.begin_analyze_document(
"prebuilt-read",
"prebuilt-layout",
body=f,
output_content_format=DocumentContentFormat.MARKDOWN,
)