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! 🚀
Input and Output
Every Generative AI interaction involves an input (what you give the AI) and an output (what the AI creates). Understanding input and output helps you use Generative AI more effectively.
Input Types
- Text: a question, instruction, or description. The most common type of input
- Image: a photo or drawing to analyze, describe, or modify
- Audio: a voice recording to transcribe, translate, or respond to
- Video: a video clip to analyze or describe
- File: a document, spreadsheet, or PDF to summarize or extract information from
- Code: existing code to explain, fix, or continue
Output Types
- Text: an answer, explanation, essay, summary, translation, or code
- Image: a new image created from a text description
- Audio: a voice reading text, or a piece of music
- Video: a video clip created from a text prompt or image
- Structured data: JSON, tables, or formatted lists
- Code: a working program or function written from instructions
Tip
Tip
The quality of your input directly affects the quality of the output. A vague prompt produces a vague response. A specific, detailed prompt produces a specific, useful response. This is why Prompt Engineering (Module 3) is one of the most valuable skills you can develop for working with Generative AI.
Deep Learning ⊂ Machine Learning ⊂ Artificial Intelligence
Key Takeaways
- Every Generative AI interaction involves an input (what you give the AI) and an output (what the AI creates).
- Text: a question, instruction, or description. The most common type of input
- Image: a photo or drawing to analyze, describe, or modify
- Audio: a voice recording to transcribe, translate, or respond to