
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A developer wants to reduce hallucinations in a Bedrock-powered application by adding external facts retrieved from a knowledge base into the prompt. Which prompting method is being used?
A
Chain-of-thought prompting
B
Retrieval-augmented prompting
C
Zero-shot prompting
D
Self-evaluation prompting
Explanation:
Retrieval-Augmented Generation (RAG) is the prompting method being used in this scenario. Here's why:
In AWS Bedrock, RAG can be implemented using:
This approach ensures that the model has access to up-to-date, domain-specific information, significantly reducing the likelihood of hallucinations.