[GH-ISSUE #819] [BUG]: Failed to embed the content of a PDF #478

Closed
opened 2026-02-22 18:19:41 -05:00 by yindo · 5 comments
Owner

Originally created by @GXY2017 on GitHub (Feb 26, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/819

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Failed to embed the content of a PDF into a vector model successfully. The PDF has complicated diagrams, 66 pages, and is in Traditional Chinese. I'm using open AI text-embedding-3-large.

20230921174002411910904756_tc.pdf

When I query the audit, Chat model cannot find the name.
image

Are there known steps to reproduce?

You can upload the same PDF and ask the same question.
The correct answer is 上會栢誠會計師事務所有限公司 or chatbot may translate into "Shang Hui Bo Cheng Accounting Firm Limited"

Originally created by @GXY2017 on GitHub (Feb 26, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/819 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Failed to embed the content of a PDF into a vector model successfully. The PDF has complicated diagrams, 66 pages, and is in Traditional Chinese. I'm using open AI text-embedding-3-large. [20230921174002411910904756_tc.pdf](https://github.com/Mintplex-Labs/anything-llm/files/14414212/20230921174002411910904756_tc.pdf) When I query the audit, Chat model cannot find the name. ![image](https://github.com/Mintplex-Labs/anything-llm/assets/29757319/5b6b44b1-5022-4756-bfb6-4fde869e6466) ### Are there known steps to reproduce? You can upload the same PDF and ask the same question. The correct answer is 上會栢誠會計師事務所有限公司 or chatbot may translate into "Shang Hui Bo Cheng Accounting Firm Limited"
yindo added the duplicate label 2026-02-22 18:19:41 -05:00
yindo closed this issue 2026-02-22 18:19:41 -05:00
Author
Owner

@Vicky4AI commented on GitHub (Feb 27, 2024):

I got the same problem, it displayed "fetching is failed " during the pdf uploading and embedding process.

@Vicky4AI commented on GitHub (Feb 27, 2024): I got the same problem, it displayed "fetching is failed " during the pdf uploading and embedding process.
Author
Owner

@timothycarambat commented on GitHub (Feb 27, 2024):

Fetch failure would be related to the vector database if you are using the non-native one. Are you using an external vector database?

@timothycarambat commented on GitHub (Feb 27, 2024): Fetch failure would be related to the vector database if you are using the non-native one. Are you using an external vector database?
Author
Owner

@Vicky4AI commented on GitHub (Feb 28, 2024):

Fetch failure would be related to the vector database if you are using the non-native one. Are you using an external vector database?

Hi, thanks for the reply, I am using the LanceDB. The fetch failure shouldn't related to the LLM model, right? is there any other open source vector database recommended :)

@Vicky4AI commented on GitHub (Feb 28, 2024): > Fetch failure would be related to the vector database if you are using the non-native one. Are you using an external vector database? Hi, thanks for the reply, I am using the LanceDB. The fetch failure shouldn't related to the LLM model, right? is there any other open source vector database recommended :)
Author
Owner

@timothycarambat commented on GitHub (Feb 28, 2024):

@Vicky4AI If on desktop the fetch failure is likely coming from the embedding model, not the LLM or vector DB!
See this comment:
https://github.com/Mintplex-Labs/anything-llm/issues/821

For windows you will want to go to C:\Users\<USER>\AppData\Roaming\anythingllm-desktop\storage

@timothycarambat commented on GitHub (Feb 28, 2024): @Vicky4AI If on desktop the `fetch failure` is likely coming from the embedding model, not the LLM or vector DB! See this comment: https://github.com/Mintplex-Labs/anything-llm/issues/821 For windows you will want to go to `C:\Users\<USER>\AppData\Roaming\anythingllm-desktop\storage`
Author
Owner

@timothycarambat commented on GitHub (Feb 28, 2024):

Duplicate of https://github.com/Mintplex-Labs/anything-llm/issues/821
(see that issue on how to fix)

@timothycarambat commented on GitHub (Feb 28, 2024): Duplicate of https://github.com/Mintplex-Labs/anything-llm/issues/821 (see that issue on how to fix)
yindo changed title from [BUG]: Failed to embed the content of a PDF to [GH-ISSUE #819] [BUG]: Failed to embed the content of a PDF 2026-06-05 14:35:31 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#478