mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #10486] [MERGED] Feat: Adding Support for Azure AI Document Intelligence for Content Extraction (Revised) #61402
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/10486
Author: @Micca
Created: 2/21/2025
Status: ✅ Merged
Merged: 2/21/2025
Merged by: @tjbck
Base:
dev← Head:feature/document_intelligence_support📝 Commits (1)
35f3824feat: Implement Document Intelligence as Content Extraction Engine📊 Changes
8 files changed (+107 additions, -2 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)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This PR is a revision of #10430 (translation files removed)
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
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.