[BUG] TypeError: llama_index.core.ingestion.pipeline.run_transformations() got multiple values for keyword argument 'show_progress'
Pre-check
- [X] I have searched the existing issues and none cover this bug.
Description
Hi, I get this error, and couldn't resolve it, Can you help me?
file_name: image__vector_store.json, extension: .json, reader_cls: <class 'llama_index.core.readers.json.JSONReader'>
Traceback (most recent call last):
File "/Users/user/AI/private-gpt/scripts/ingest_folder.py", line 122, in
Steps to Reproduce
PGPT_PROFILES=ollama make ingest ../ING -- --watch --log-file ../LOGS/privategpt_ingest.log
Ctrl+c after a while Then try again
Expected Behavior
ingest documents
Actual Behavior
error
Environment
Mac ARM cpu and gpu with python 3.11
Additional Information
No response
Version
No response
Setup Checklist
- [X] Confirm that you have followed the installation instructions in the project’s documentation.
- [X] Check that you are using the latest version of the project.
- [X] Verify disk space availability for model storage and data processing.
- [X] Ensure that you have the necessary permissions to run the project.
NVIDIA GPU Setup Checklist
- [ ] Check that the all CUDA dependencies are installed and are compatible with your GPU (refer to CUDA's documentation)
- [ ] Ensure an NVIDIA GPU is installed and recognized by the system (run
nvidia-smito verify). - [X] Ensure proper permissions are set for accessing GPU resources.
- [ ] Docker users - Verify that the NVIDIA Container Toolkit is configured correctly (e.g. run
sudo docker run --rm --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi)
Llama index has been bumped... I will update Llama Index to fix all dependencies issues.
same error here. Please fix
same error here. Please fix
I am getting the same error
I got the same error, I used the following workaround to get it working.
Edit the ingest_component.py file, in your case: /Users/user/AI/private-gpt/private_gpt/components/ingest/ingest_component.py:
# Change following line:
self._index.insert(document, show_progress=True)
# to:
self._index.insert(document)