
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.
A legal firm uses Bedrock to summarize contracts and needs precise, repeatable language. Which setting combination is most appropriate?
A
temperature = 0.2, top-p = 0.7
B
temperature = 0.9, top-p = 1.0
C
temperature = 1.2, top-p = 1.0
D
temperature = 0.8, top-p = 0.3
Explanation:
For legal contract summarization that requires precise and repeatable language, the optimal settings are:
Low temperature (0.2): Temperature controls the randomness/creativity of the output. Lower values (closer to 0) make the output more deterministic and consistent, which is essential for legal documents where precision and repeatability are critical.
Moderate top-p (0.7): Top-p (nucleus sampling) controls the diversity of token selection. A value of 0.7 allows for some flexibility while still maintaining focus on the most probable tokens, striking a balance between precision and natural language flow.
Why other options are incorrect:
Option B (temperature=0.9, top-p=1.0): Too high temperature makes output too random and creative
Option C (temperature=1.2, top-p=1.0): Very high temperature (above 1.0) creates excessive randomness
Option D (temperature=0.8, top-p=0.3): Temperature is still too high for precise legal work, and top-p is too restrictive
For legal applications, consistency and accuracy are paramount, making low-temperature settings essential.