
Answer-first summary for fast verification
Answer: temperature = 0.2
## Explanation For a law firm's Bedrock bot that needs to produce consistent phrasing across contracts, a **lower temperature setting** is ideal. **Key Concepts:** 1. **Temperature Parameter**: Controls the randomness/creativity of the model's output - **Lower temperature (0.0-0.3)**: More deterministic, consistent, and predictable outputs - **Higher temperature (0.7-1.0)**: More creative, diverse, and random outputs 2. **Why temperature = 0.2 is correct**: - Legal contracts require precise, consistent language - Low temperature ensures the model generates similar phrasing for similar legal concepts - Reduces variability in contract language - Maintains consistency across multiple contract generations 3. **Why other options are incorrect**: - **B. temperature = 0.9**: Too high for legal documents - would produce inconsistent, creative phrasing - **C. top-p = 1.0**: Allows all tokens to be considered, doesn't specifically address consistency - **D. max-tokens = 1000**: Controls output length, not consistency of phrasing **Best Practice**: For legal, financial, or technical documents where consistency is critical, use low temperature settings (0.0-0.3). For creative writing or brainstorming, use higher temperature settings (0.7-1.0).
Author: Jin H
Ultimate access to all questions.
No comments yet.