Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
22.64k stars 2.29k forks source link

Malformed document in workspace #2137

Open coolwasp opened 1 month ago

coolwasp commented 1 month ago

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

1, upload a Pdf document 2, the PDF content to ask questions 3、Can not reply normally 4、See the screenshot of the error response

 the screenshot of the error response

Are there known steps to reproduce?

I've also tried shutting down and exiting the system, restarting the system, and typing in the question, and it still doesn't dialogue properly, the error remains.

timothycarambat commented 4 weeks ago

One of the documents embedded in the workspace is malformed JSON apparently. How many documents are in the workspace? I would remove it one by one and try to determine which is the offending document and then delete it + reembed it.

Are any of these documents pinned by the way?

timothycarambat commented 4 weeks ago

Also if you can obtain debug logs when the error occurs while the app is running that would be very helpful in tracing this https://docs.anythingllm.com/debug