mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #10430] [CLOSED] Feat: Adding Support for Azure AI Document Intelligence for Content Extraction #9328
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10430
Author: @Micca
Created: 2/20/2025
Status: ❌ Closed
Base:
dev← Head:feature/document_intelligence_support📝 Commits (2)
35f3824feat: Implement Document Intelligence as Content Extraction Enginef8183e3i18n: Update translations for Document Intelligence Update📊 Changes
57 files changed (+296 additions, -44 deletions)
View changed files
📝
backend/open_webui/config.py(+12 -0)📝
backend/open_webui/main.py(+4 -0)📝
backend/open_webui/retrieval/loaders/main.py(+22 -0)📝
backend/open_webui/routers/retrieval.py(+26 -1)📝
backend/requirements.txt(+1 -0)📝
pyproject.toml(+1 -0)📝
src/lib/apis/retrieval/index.ts(+6 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+35 -1)📝
src/lib/i18n/locales/ar-BH/translation.json(+3 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+3 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+3 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+3 -0)📝
src/lib/i18n/locales/ceb-PH/translation.json(+3 -0)📝
src/lib/i18n/locales/cs-CZ/translation.json(+3 -0)📝
src/lib/i18n/locales/da-DK/translation.json(+3 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+3 -0)📝
src/lib/i18n/locales/el-GR/translation.json(+3 -0)📝
src/lib/i18n/locales/en-GB/translation.json(+3 -0)📝
src/lib/i18n/locales/en-US/translation.json(+3 -0)📝
src/lib/i18n/locales/es-ES/translation.json(+3 -0)...and 37 more files
📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
The current OpenWebUi's standard content extraction engine cannot handle image-based pdfs. This PR implements Azure AI Document Intelligence as a content extraction engine, so this project has another engine available for users that need structured OCR-parsed documents. The Document Intelligence content extraction engine connects open-webui to a Microsoft service to extract structured content from PDFs, XLS, DOCX, and PPT files.
Added
Added environment variables:
Added dependency: azure-ai-documentintelligence==1.0.0
Implemented Azure AI Document Intelligence as content extraction engine for docx, pdf, ppt and xlsx
Added ability to configure Document Intelligence as content extraction engine, with the related environment variables being saved in PersistentConfig
Added localization for newly introduced fields
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.