ingest_knowledge_base_documents fails when using S3 metadata #4574
Unanswered
AymaneHan1
asked this question in
Q&A
Replies: 1 comment
-
|
Same issue here using Boto3 1.40.52 Data and metadata (json) files are on S3, response does not return any errors, but on the console it shows that the ingestion for that particular file was a failure. Ingestion only works when metadata is not included. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I'm trying to ingest documents into a Bedrock knowledge base via URI, with each document having its own corresponding metadata file. This metadata contains fields like user ID and chat ID that I want to use for filtering during retrieval.
While ingesting documents without metadata works fine, the process fails whenever I include metadata.
The ingestion works when I remove the metadata field from the request, but fails with the metadata included. I've tried multiple formats for the metadata JSON structure without success.
What is the correct format for metadata when using ingest_knowledge_base_documents?
Thank you 🙏
Beta Was this translation helpful? Give feedback.
All reactions