← Back to context

Comment by rany_

2 years ago

I think it would be better to ask it to wrap the answer with some known marker like START_DESCRIPTION and END_DESCRIPTION. This way if it refuses you'll be able to tell right away.

As another user pointed out, sometimes it doesn't refuse by using the word "sorry".

In the same vein, I had a play with asking ChatGPT to `format responses as a JSON object with schema {"desc": "str"}` and it seemed to work pretty well. It gave me refusals in plaintext, and correct answers in well-formed JSON objects.