Q9. A company wants deterministic outputs for legal summaries. Which setup is MOST appropriate?
Answer
Low temperature with explicit formatting
Explanation
Legal documents require utmost consistency and accuracy, demanding deterministic outputs. A low temperature setting (e.g., 0-0.3) significantly reduces randomness, ensuring outputs are highly predictable. Combined with explicit formatting instructions, this setup guarantees reliable and consistent results that meet stringent compliance requirements. High temperature (A) would introduce unwanted variability. Random examples (C) do not guarantee determinism. Streaming only (D) affects delivery, not the determinism of the content itself. This demonstrates how prompt engineering and parameter tuning are essential for high-stakes enterprise applications with Claude, especially for regulatory and legal use cases.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Q2. What is the primary advantage of few-shot prompting?
View question →
Q7. Which prompt is BEST for enterprise reliability?
View question →
Q1. A team wants Claude to always return structured JSON responses for downstream automation. What is the BEST approach?
View question →
Q8. What is the role of delimiters in prompts?
View question →
Q3. A prompt contains: <instructions>Summarize in bullet points</instructions>. What is the main purpose of using XML tags?
View question →
Q5. What does chain-of-thought prompting encourage?
View question →