open-webui icon indicating copy to clipboard operation
open-webui copied to clipboard

issue: Docling causes add knowledge to fail.

Open geiseri opened this issue 7 months ago • 2 comments
trafficstars

Check Existing Issues

  • [x] I have searched the existing issues and discussions.
  • [x] I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.0

Ollama Version (if applicable)

0.5.13

Operating System

linux

Browser (if applicable)

No response

Confirmation

  • [x] I have read and followed all instructions in README.md.
  • [x] I am using the latest version of both Open WebUI and Ollama.
  • [x] I have included the browser console logs.
  • [x] I have included the Docker container logs.
  • [x] I have listed steps to reproduce the bug in detail.

Expected Behavior

Add text content to knowledge and it is added.

Actual Behavior

If "Add text content" is used while adding Knowledge they should bypass docling since they are already in text format. Currently they are sent do docling and that returns and error so the import fails.

Steps to Reproduce

  1. Go to add knowledge and try "Add text content"

Image

  1. Paste text into the input area.
  2. Click save
  3. Error is seen:

Image

Logs & Screenshots

Image

Image

Additional Information

This might also hold true for any file that is already text formatted when its uploaded.

I apologize for using screenshots, as I was having fits with getting formatting and stuff preserved.

geiseri avatar Apr 02 '25 16:04 geiseri

@FabioPolito24

tjbck avatar Apr 02 '25 18:04 tjbck

Got the problem, I'll get it fixed as soon as I can, probably this weekend. Thanks for reporting it!

FabioPolito24 avatar Apr 02 '25 22:04 FabioPolito24

Seems fixed in #12486 so I will close this.

geiseri avatar Apr 08 '25 18:04 geiseri