Blocking RAG answers that add details not in the source
AIF-C01
Security, Compliance, and Governance for AI Solutions
Medium
Question 20 of 65
A pharmacy's retrieval augmented generation assistant sometimes adds dosage details that do not appear in the retrieved leaflet. The company wants those responses blocked automatically and wants to tune how strict the check is.
Which Amazon Bedrock Guardrails policy will meet these requirements?
Show answer and explanation
BA contextual grounding check with a configured threshold
A contextual grounding check scores each response against the supplied source, treats new information that is not in the source as ungrounded, blocks responses below the configured threshold, and gets stricter as the threshold rises. A regex in the sensitive information filter would mask dosage numbers whether or not the leaflet supports them. A denied topic would block every dosage answer, including correct ones. Word filters match fixed strings and cannot judge support.
Source: docs.aws.amazon.com/
Anonymous, no account needed. Your tally stays in this browser.
Practice by topic: RAG questions Amazon Bedrock questions