crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

PDFSearchTool ValueError : No data found

Open gergirod opened this issue 1 year ago • 1 comments

this is what I'm doing in my code. pdf_tool =PDFSearchTool(pdf="path to pdf")

Error

python3.12/site-packages/embedchain/loaders/pdf_file.py", line 21, in load_data raise ValueError("No data found") ValueError: No data found

gergirod avatar Aug 05 '24 18:08 gergirod

this is what I'm doing in my code. pdf_tool =PDFSearchTool(pdf="path to pdf")

Error

python3.12/site-packages/embedchain/loaders/pdf_file.py", line 21, in load_data raise ValueError("No data found") ValueError: No data found

Are you sure the path to the PDF is correct? Try putting the PDF in the same directory as your python script and try again.

zinyando avatar Aug 06 '24 08:08 zinyando