Trick
Use XML Tags for Structured Output
July 29, 2024
When you need structured responses, instruct the model to use XML tags. For example: 'Provide your answer in the following format: <summary>Brief overview</summary> <pros>List of advantages</pros> <cons>List of disadvantages</cons>'
Category: Output Formatting