ingest_knowledge_base_documents fails when using S3 metadata #4574
Unanswered
AymaneHan1
asked this question in
Q&A
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.
-
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