mirror of
https://github.com/open-webui/docs.git
synced 2026-07-20 15:38:19 -04:00
PGVector gotcha #70
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 @humbertovnavarro on GitHub (Mar 28, 2025).
By default postgres uses ASCII encoding which causes document uploads to fail if they contain unicode characters.
@mihirahlawat commented on GitHub (Apr 17, 2025):
I spent a lot of time and will try to save you some.
The issue: If PDFs have ligatures in them, PyPDF does not recognize them and gives you an empty character (in unicode) which throws error in a PGVector Database.
The solution: I used PyMuPDF for loading pdf documents. It is able to recognize ligatures seamlessly.
@Classic298 commented on GitHub (Sep 14, 2025):
Hi, what improvement to the docs do you propose based on these observations? Not sure where to add it?