-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Description
Check Existing Issues
- I have searched the existing issues and discussions.
Problem Description
open-webui : v0.6.20
docling-serve : v1.3.1
Docling-serve document timeout is set by default to 60s, regardless of the processing time. This causes an issue for large PDFs requiring a large processing time. When a document is uploaded (via the chat interface or the knowledge base page), docling takes over processing, however when the request exceeds 60s, open-webui drops the document from the interface and its internal DB. Logs show docling serve returns the extracted content, which open-webui proceeds to embed and store in vector storage, without an entry in the document DB.
Desired Solution you'd like
The problem can be patched by adding an environment variable to control the DoclingLoader timeout. Implementations can be done by adding the a timeout
option to the requests.post()
call in the DoclingLoader
class, poiting to said environment variable.
Alternatives Considered
No response
Additional Context
No response