Stopping a Bedrock knowledge base from citing last year's policy

AIF-C01 Applications of Foundation Models Medium Question 1 of 65

A benefits assistant uses an Amazon Bedrock knowledge base that holds this year's policy and last year's policy. Both documents are similar to employee questions about enrollment dates, and the assistant sometimes answers with last year's dates. The company needs the assistant to answer from the policy that is currently in effect.

Which solution will meet these requirements?

Show answer and explanation

CAdd an effective-date attribute to each file and filter retrieval on it.

An effective-date attribute on each file lets the knowledge base filter retrieval to the policy in force, so the superseded document is never returned as evidence. A reranker reorders chunks by relevance to the question, and both policies are relevant. Hybrid search changes how text is matched, not which version applies. Re-syncing reindexes both documents and leaves the assistant choosing between them.

Source: docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 65 original AIF-C01 practice questions