mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #15598] feat: Enable OpenAI Built-in PDF Support #46933
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/15598
Author: @MingLin-home
Created: 7/9/2025
Status: 🔄 Open
Base:
dev← Head:openai-pdf-support📝 Commits (10+)
9f26234Add support for handling PDF files in OpenAI chat completiond97fde1save pdf to 1-th elememt63649e8add config button to turn on/off using openai built-in PDF file parser815f74fclean up codefe6783cMerge pull request #19030 from open-webui/devfc05e0aMerge pull request #19405 from open-webui/deve3faec6Merge pull request #19416 from open-webui/dev9899293Merge pull request #19448 from open-webui/dev140605eMerge pull request #19462 from open-webui/dev6f1486fMerge pull request #19466 from open-webui/dev📊 Changes
6 files changed (+69 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+2 -0)📝
backend/open_webui/routers/openai.py(+31 -0)📝
backend/open_webui/routers/retrieval.py(+18 -1)📝
src/lib/apis/retrieval/index.ts(+1 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+11 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Discussion thread: Enable OpenAI Built-in PDF Support #15597
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Changed
N/A
Deprecated
N/A
Removed
N/A
Fixed
N/A
Security
N/A
Breaking Changes
This PR should be fully compatible with existing features.
Additional Information
N/A
Screenshots or Videos
Before PR
After PR
To turn on/off OpenAI PDF support:
Then create a new chat, ask the same question:
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.