Tip
Intermediate
Specify Output Format
February 20, 2025
If you need structured output (e.g., JSON, XML, a list), explicitly ask the LLM to provide it in that format. This often yields better and more parsable results. Example: 'Provide your answer as a JSON object with keys 'name' and 'summary'.'
Category: Prompt Engineering
Difficulty: Intermediate