Improving Prompt Consistency with Structured Generations