AWS Certified AI Practitioner (AIF-C01) — Question 241

A company is using Amazon Bedrock to build an AI assistant. The AI assistant helps customers find relevant products by making suggestions. However, the AI assistant's responses are often generic and irrelevant. The company wants to use prompt engineering to improve the AI assistant's responses.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer, A, suggests using few-shot prompting, which can provide specific examples and context, improving relevance in responses. Option B is incorrect because chain-of-thought prompting does not align with the need for explicit domain context. Option C focuses on style rather than content relevance, and option D does not introduce context needed for better responses.