Quiz 7 Question 5 of 20

A technical writing platform uses Claude to generate API documentation from OpenAPI specifications. The generated docs must use the company's custom terminology (e.g., 'endpoint' must be called 'resource path,' 'response' must be called 'return payload'). The team observes that standard terminology appears in 15-20% of generated sections despite system prompt instructions. Temperature is already at 0.1. The team's options are: (A) increase few-shot examples to 20 pairs demonstrating correct terminology, (B) add a self-review step where Claude checks its own output for prohibited terms, (C) post-process with deterministic string replacement. Which approach is best for production, and what does the correct architecture look like?

Select an answer to reveal the explanation.

Motivation