Closed aminbaig closed 11 months ago
python scripts/ingest_folder.py FOLDERPATH
The above suggestion gives me the following error @namp
C:\AI\privateGPT>python scripts/ingest_folder.py Extracted
Traceback (most recent call last):
File "C:\AI\privateGPT\scripts\ingest_folder.py", line 5, in <module>
from private_gpt.di import root_injector
ModuleNotFoundError: No module named 'private_gpt'
The folder is right there
privateGPT is not installed. Follow the installation guide in the docs
privateGPT is installed. I can run it using
poetry run python -m private_gpt
I can also ingest signle documents using the gradio interface @namp
I was able to run the bulk ingest using:
poetry run python scripts/ingest_folder.py Extracted
I am using the following command to bulk ingest pdf files:
make ingest c:\ai\privateGPT\Extracted
The folder named extracted has all the pdf files in it
When I run the above command I get the following error:
@imartinez I am using windows 11 terminal, python 3.11.0. I am able to run gradio interface and privateGPT, I can also add single files from the web interface but the ingest command is driving me crazy.
Can someone please advise on whats wrong, is the ingest_folder broken or is it me???