How long?
Effectively limiting response length is an essential skill for creating effective prompts. Without a specified limit, large language models like ChatGPT typically produce very extensive responses, often far exceeding the anticipated length.
Our objective is to ask ChatGPT to describe the Mona Lisa.
Compare the base prompt and some length limited prompts, which approach doesn't produce exactly the desired limited response?
This exercise is part of the course
Understanding Prompt Engineering
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
