API setup
Follow the current official quickstart to obtain a key and install the supported SDK. Keep the key outside source code and confirm one minimal request before adding features.
Multimodal prompts
For multimodal input, state what to examine and how the answer should be structured. Compare a text-only request with the same request plus an image.
Tools and structured output
Structured output defines a response shape; it does not prove the values are correct. Validate the fields and test malformed or incomplete input.
Practice assignment
Extract three named fields from a sample document into structured output, then verify every field against the document.
Completion checklist
- Explain the three topics in your own words.
- Complete the assignment and keep the output or design notes.
- Test an edge case and record one limitation.