mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-01 06:19:20 -05:00
enh: Efficient Image Handling for Multi-Modal Chats #1088
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?
Originally created by @wanderingmeow on GitHub (Jun 1, 2024).
Description
The current implementation of open-webui stores full-resolution images in base64 within the
webui.dbSQLite database. While this approach may be convenient, it can lead to:Possible Solutions
backend/data/uploads/images). Image entries in the database would then be URI links or hashes to these images, enabling easier cleanup and organization.VACUUMshould not be called frequently, as it just reconstructs the database.@spammenotinoz commented on GitHub (Jun 3, 2024):
@Fusseldieb commented on GitHub (Sep 1, 2024):
Yes, this has been an ongoing issue for me as well.
I encounter myself quite frequently in situations where I take a photo using my phone, and ask GPT-4o something. Since each photo is like 5MB, it takes an eternity to upload, and also wastes A LOT of tokens since the image received by it will be absolutely GIGANTIC.
@ice6 commented on GitHub (Oct 29, 2024):
vote for
Client Size Resizing.@tjbck commented on GitHub (Dec 2, 2024):
Closing in favour of #6848