Build and improve
Design inputs and outputs
Make what the assistant needs and returns clear and consistent.
Lesson time: 15 minutes
In this lesson
The input contract
Split information into required and optional fields, and define what happens when required data is missing. This reduces guessing and simplifies the interface.
The output format
Choose a structure suited to the next consumer: headed prose for a reader or valid JSON for a system. Request only necessary fields.
Handling missing information
Distinguish blocking information from details that can be safely assumed. Ask the fewest questions and state minor assumptions.
Key takeaways
- ✓Define required fields.
- ✓Design output for its next consumer.
- ✓Do not let the assistant guess critical information.
Practice now
Design a five-field input form and fixed output template, then test it with one critical field missing.

