Advanced Prompt Engineering · Lesson 8
Output constraints: format, length, negative
Format constraints (JSON/CSV/XML) via a schema in the prompt and structured outputs in the API, length limits, negative constraints with a reason, and constraint ordering in long context.
One trial lesson is open without sign-up: what a large language model is →


