I'm trying your stuff right now but got this error. I'm using your hacker manifesto pdf file. Any ideas ?
PS D:\Informatique\chatPDF> python main.py
'clear' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
📁 Select a file
1. file.pdf
Enter a number, or 0 to exit: 1
👀 Loading...
Traceback (most recent call last):
File "D:\Informatique\chatPDF\main.py", line 71, in <module>
ask(file)
File "D:\Informatique\chatPDF\main.py", line 37, in ask
PDFReader = download_loader("PDFReader")
File "C:\Users\Thoma\AppData\Local\Programs\Python\Python310\lib\site-packages\llama_index\readers\download.py", line 125, in download_loader
library = json.loads(library_raw_content)
File "C:\Users\Thoma\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\Thoma\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 4 (char 3)