Beginner-Friendly Topic
Take your time - it's perfectly normal to re-read this topic 2-3 times. Try the interactive code editor below to run code yourself. Use the Q&A section to check your understanding before moving on. You've got this! 🚀
Output Format
The output format section tells AI exactly how to present the response. This is where you specify structure, not just content.
Defining Output Format
Output format specifies:
- Structure: bullet points, numbered list, table, paragraphs
- Sections: introduction, examples, summary
- Length: word count, number of items, number of pages
- Special formats: JSON, Markdown, HTML, Python code
Example output formats:
- '3 bullet points, each under 15 words'
- 'A table with columns: Feature, Python, JavaScript'
- 'A numbered list of 5 steps'
- 'JSON with keys: name, description, example'
- 'Two paragraphs: one for beginners, one for advanced readers'
Deep Learning ⊂ Machine Learning ⊂ Artificial Intelligence
Output Format Examples
- Bullet format: 'List the main differences as 5 bullet points, one per difference.'
- Table format: 'Compare these tools in a table with columns: Tool, Use case, Price, Pros, Cons.'
- Step format: 'Give me the steps as a numbered list. Start from the first step a user takes.'
- JSON format: 'Return the result as JSON with keys: topic, summary, key_points (array).'
- Mixed format: 'Write a one-paragraph introduction, then list 5 key takeaways as bullet points.'
Key Takeaways
- Output format tells AI how to structure and present the response
- Specifying format prevents AI from choosing a format that does not fit your needs
- Common formats: bullets, numbered list, table, JSON, paragraphs, code blocks
- You can specify mixed formats: paragraph followed by a list
- If format matters for your use case, always specify it explicitly
Key Takeaways
- The output format section tells AI exactly how to present the response.
- Bullet format: 'List the main differences as 5 bullet points, one per difference.'
- Table format: 'Compare these tools in a table with columns: Tool, Use case, Price, Pros, Cons.'
- Step format: 'Give me the steps as a numbered list. Start from the first step a user takes.'