mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| base_ocr_unit_tests.py | ||
| conftest.py | ||
| test_ocr_azure_ai.py | ||
| test_ocr_azure_document_intelligence.py | ||
| test_ocr_mistral.py | ||
| test_ocr_vertex_ai.py | ||
| vertex_key.json | ||