Problem definition is the practice of clearly specifying what needs to be solved. In generative-AI work, precise input matters because unclear requests can produce unsuitable results; concise, specific wording helps turn a developer’s intent into usable code. section 1.5.2
A well-formed request benefits from:
- Clear and specific requirements. section 1.5.2
- Concise wording with correct grammar and spelling. section 1.5.2
- Examples when they make the intended result easier to interpret. section 1.5.2
- Explicit output behavior, such as returning a formatted string instead of printing it. section 1.5.2
Refining a balance-formatting request
A vague request can produce a script that reads a balance and prints it. A clearer request can require a function, type hints, and a returned formatted string, making the result easier to reuse and test.





