
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.
An HR assistant model must answer employee policy questions based on the company handbook stored in an S3 bucket. The system retrieves relevant policy paragraphs and includes them in the prompt before generating the answer. Which prompting approach is being used?
A
Few-shot Prompting
B
Contextual / Retrieval-Augmented Prompting (RAG)
C
Zero-shot Prompting
D
Chain-of-Thought Prompting
Explanation:
This scenario describes Retrieval-Augmented Generation (RAG), which is a contextual prompting approach. Here's why:
External Knowledge Retrieval: The system retrieves relevant information from an external source (S3 bucket containing company handbook)
Context Integration: Retrieved policy paragraphs are included in the prompt before generating the answer
Dynamic Context: The model uses up-to-date, specific information rather than relying solely on its pre-trained knowledge
A) Few-shot Prompting: Involves providing examples in the prompt, not retrieving external documents
C) Zero-shot Prompting: No examples or external context provided - just the question
D) Chain-of-Thought Prompting: Focuses on step-by-step reasoning, not document retrieval
Accuracy: Ensures answers are based on the latest company policies
Scalability: Can handle large document repositories
Maintainability: Policies can be updated in S3 without retraining the model
Transparency: Shows which specific policy sections were used for the answer
This approach is particularly valuable for HR systems where policy accuracy and compliance are critical.