AIF-C01 · Question #355
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…
The correct answer is A. Use few-shot prompting to add domain-specific context and explicit instructions. Few-shot prompting provides the model with examples and domain-specific context, guiding it to generate more accurate and relevant responses. This improves the quality of product suggestions compared to generic outputs.
Question
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?
Options
- AUse few-shot prompting to add domain-specific context and explicit instructions.
- BUse chain-of-thought prompting with hidden reasoning steps to ignore explicit domain
- CModify the AI assistant's conversational style to use more formal language and include technical
- DUse zero-shot prompting to augment retrieval from a product database.
How the community answered
(25 responses)- A76% (19)
- B8% (2)
- C4% (1)
- D12% (3)
Explanation
Few-shot prompting provides the model with examples and domain-specific context, guiding it to generate more accurate and relevant responses. This improves the quality of product suggestions compared to generic outputs.
Topics
Community Discussion
No community discussion yet for this question.