Ingesting large textfiles through Goals #4477
Closed
MrLindeman
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I've been struggling to get Auto-Gpt to read large files. Tried everything from using data_ingestion.py, uploading PDF to my own server and converting the PDF into a HTML text page and also having the ai read that page. All of them to no avail. I simply can't get data_ingestion.py to connect to Redis, no matter what I do.
BUT!
I found a way to make this work with a "simple" workaround.
This results in Auto-GPT reading one file after another, it may error out as it goes sometimes (Mine did after the first 92 files, but editing Goal 1 to pick up where it exited will set it off again.
The pythonscript I used looks like this:
Just change to your own filename without the number.
This has been working great for me. Yes it takes a lot of time for larger files.. I successfully ingested a file with 2.500.000 characters, 404 textfiles.
Good luck out there :)
Beta Was this translation helpful? Give feedback.
All reactions