
Answer-first summary for fast verification
Answer: Add clearer instructions and define output format
**Explanation:** When a model produces vague answers, the most effective approach is to improve the prompt engineering. Here's why option B is correct: 1. **Clearer Instructions**: Providing specific, detailed instructions helps the model understand exactly what is expected. For financial summaries, this might include specifying what financial metrics to include, what format to use, and what level of detail is required. 2. **Defined Output Format**: Specifying the structure of the output (e.g., bullet points, tables, specific sections) helps the model produce more organized and consistent results. 3. **Why other options are less effective**: - **A) Use a shorter prompt**: Shorter prompts often lack necessary context and specificity, which can lead to even vaguer responses. - **C) Randomize wording for creativity**: This approach might introduce inconsistency and unpredictability rather than improving clarity. - **D) Reduce temperature to zero**: While reducing temperature can make outputs more deterministic, it doesn't address the fundamental issue of vague responses. Temperature controls randomness, not clarity. **Best Practices for Amazon Bedrock Prompt Engineering:** - Use explicit instructions - Provide examples (few-shot learning) - Specify output format and structure - Include constraints and requirements - Iteratively refine prompts based on results
Author: Jin H
Ultimate access to all questions.
No comments yet.
A data analyst uses Amazon Bedrock to generate financial summaries from quarterly reports. Sometimes, the model produces vague answers. What should the analyst do to improve the output quality?
A
Use a shorter prompt
B
Add clearer instructions and define output format
C
Randomize wording for creativity
D
Reduce temperature to zero