mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
fix: update Azure Document Intelligence parser to use prebuilt-layout model
This commit is contained in:
parent
649f315dba
commit
bb5b90e5bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue