Stopping an HR assistant from inventing leave policy rules
AIF-C01
Fundamentals of Generative AI
Medium
Question 65 of 65
An internal HR assistant built on Amazon Bedrock answers employee questions. It sometimes states leave rules that appear in no company document. The policies are revised each quarter, and every answer must point to the document it came from.
Which approach will meet these requirements?
Show answer and explanation
DRetrieve the relevant policy passages and pass them to the model.
Retrieval puts the current policy text in front of the model at question time and lets the answer cite the document it came from, which covers both the quarterly revisions and the citation requirement. Fine-tuning bakes in a snapshot that goes stale each quarter and still cannot cite a source. A system prompt instruction tells the model to use policy it was never given. Few-shot examples teach the shape of a well-formed answer, not the current content.
Source: docs.aws.amazon.com/
Anonymous, no account needed. Your tally stays in this browser.
Practice by topic: Amazon Bedrock questions