Skip to content

AWS-OLD-KnowledgeBase-Bug

0

Hi Team,

I have an S3 bucket with an pdf document and im using that to create a knowledge base.Creation of Knowledge base resulting in repeated " Index Creation" issue. Further looking into it collection,encryption,Network created with right KB.But data access policy is referring to old KB.

Even after having an clean Open Serverless Service ,New S3 bucket.It is always getting stuck with index creation issue due to data access policy having incorrect reference of the KB.

Is it a Bedrock bug?

1 Answer
0

This doesn't appear to be a Bedrock bug, but rather a potential issue with how changes are being managed between your S3 data source and your knowledge base.

When working with Amazon Bedrock Knowledge Bases that use S3 data sources, it's important to understand how changes are synchronized. If you're making changes directly to the knowledge base using the AWS Management Console or the KnowledgeBaseDocuments API operations, these changes won't automatically be reflected in your S3 location.

The issue you're experiencing with "Index Creation" and the data access policy referring to an old knowledge base could be related to this synchronization challenge. When you make changes directly to the knowledge base, you should also make the same changes in your S3 location to prevent them from being overwritten during the next sync operation.

Additionally, you should avoid submitting an IngestKnowledgeBaseDocuments request and a StartIngestionJob request at the same time, as this could cause conflicts.

I recommend checking that your data access policy is correctly configured for your current knowledge base, and ensure that any changes you make to the knowledge base are also reflected in your S3 data source.
Sources
Ingest changes directly into a knowledge base - Amazon Bedrock

answered 10 months ago

    • Bedrock reusing an old internal KB ID
    • Bedrock regenerating an old data access policy name
    • AOSS policy ARNs pointing to the wrong collection
    • Index creation failing before ingestion even starts Failure happens before ingestion.So not sure if above response fits my scenario.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.