QuivrHQ / quivr

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.
https://core.quivr.com
Other
36.41k stars 3.56k forks source link

[Bug]: Brain.from_files Return error "ValueError: can't initialize brain without documents"(For pdf) #3429

Open ccutyear opened 3 hours ago

ccutyear commented 3 hours ago

What happened?

I run the following code:

from quivr_core import Brain

brain = Brain.from_files(name = "my smart brain",
                        file_paths = ["/root/workplace/try_use_quivr/qa_file/txtQA/Bible.pdf"],
                        )

Return error: ValueError: can't initialize brain without documents

西游记.pdf Bible.pdf

The pdf file is small and the file format is simple

Maybe the issue label is not appropriate, if so it can be modified.

Relevant log output

No response

Twitter / LinkedIn details

No response

linear[bot] commented 3 hours ago

CORE-261 [Bug]: Brain.from_files Return error "ValueError: can't initialize brain without documents"(For pdf)