#Stop ChatGPT from giving me an intro to a list
9 messages · Page 1 of 1 (latest)
Seems to be a bit better now I've added the following to the end of the user message:
Do not give an intro, summary or any other niceties.
JUST PRINT THE LIST. Do not prefix the titles with a number.```
Is this the best way to keep it on task?
I've tried telling the API to format the response as a JSON object
Ah, that's a good idea. Thanks!
Sort of worked - kept giving me back JSON in all different structures though which made it a bit difficult to work with.
It should be a simple as adding to the prompt, "Please respond only with the list."
Telling the model NOT to do stuff doesn't work nicely, do what @tiny star said, be explicit and direct in what you're asking
"Give me a list of 5 blogk post titles. Respond only with the entries in the list"
"Do not include introductions or conclusions"