litellm/tests/test_litellm/llms/azure_ai
Mateo Wang ae356cf1fa
fix(azure_ai): preserve content, tables, and keyValuePairs in doc-intelligence /v1/ocr (#32018)
* fix(azure_ai): preserve content, tables, and keyValuePairs in doc-intelligence /v1/ocr

Azure Document Intelligence analyzeResult.content, .tables, and
.keyValuePairs were dropped when normalizing to the Mistral OCR schema.
They are now passed through verbatim as top-level response fields, and
the duplicated sync/async response parsing is consolidated into one
pydantic-validated helper.

Also adds the Azure DI features query param (list[str] or
comma-separated string, e.g. features=keyValuePairs) which Azure
requires for keyValuePairs extraction.

* test(azure_ai): replace fastapi jsonable_encoder with model_dump in ocr unit tests
2026-07-02 22:38:36 -07:00
..
chat fix(azure_ai): strip tool-level extra fields on 400 and retry (#29479) 2026-06-02 06:21:25 -07:00
claude refactor: remove unnecessary comments from #27074 2026-05-04 19:34:56 +00:00
image_edit feat(azure_ai): add MAI-Image-2.5 image generation support (#29688) 2026-06-08 18:27:04 -07:00
image_generation feat(azure_ai): add MAI-Image-2.5 image generation support (#29688) 2026-06-08 18:27:04 -07:00
rerank style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_azure_ai_agents_handler.py fix: encode additional provider path identifiers 2026-04-29 22:18:20 -07:00
test_azure_ai_cost_calculator.py fix(cost): pass service_tier through azure and azure_ai cost calculation (#24926) 2026-05-01 17:26:45 +05:30
test_azure_ai_kimi_k26_metadata.py Litellm oss staging 030626 (#29578) 2026-06-03 11:01:51 -07:00
test_azure_document_intelligence_ocr_transformation.py fix(azure_ai): preserve content, tables, and keyValuePairs in doc-intelligence /v1/ocr (#32018) 2026-07-02 22:38:36 -07:00