nv-ingest error #402
ashish-kumar-hpe
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sample Code
from nv_ingest_client.client import Ingestor
ingestor = (
Ingestor(message_client_hostname="192.168.21.179",message_client_port=30415)
.files("./data/a00142461enw.pdf")
.extract(
extract_text=True,
extract_tables=False,
extract_images=False,
)
.embed()
.vdb_upload()
)
results = ingestor.ingest()
print(results)
Error in nv-ingest
ERROR: Error: 1 validation error for IngestJobSchema
tasks -> 1 -> root
'NoneType' object is not callable (type=type_error)
Traceback (most recent call last):
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/api/v1/ingest.py", line 138, in submit_job
submitted_job_id = await ingest_service.submit_job(updated_job_spec)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/service/impl/ingest/redis_ingest_service.py", line 60, in submit_job
validate_ingest_job(job_spec)
File "/opt/conda/envs/nv_ingest/lib/python3.10/site-packages/nv_ingest/schemas/ingest_job_schema.py", line 204, in validate_ingest_job
return IngestJobSchema(**job_data)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for IngestJobSchema
tasks -> 1 -> root
'NoneType' object is not callable (type=type_error)
Beta Was this translation helpful? Give feedback.
All reactions