How "force" the API to really follow all the instructions?

It may help if you are more conceptually precise. Look at your prompt again:

  • You are asking for ad copy.
  • You are asking for ads.
  • You are asking for headlines.
  • You are asking for descriptions.
  • You are referring to each other.
  • You are asking for a response.
  • You are asking for Headings.
  • You are asking for Lists.

Now, the ads need to be in {language}, but does that include the copy? the headlines? the descriptions? the others? GPT is trying to follow your instructions, but failing to group the related concepts to each other because you have many concepts that are not, in GPT’s mind, tied to each other.

Try to be much more precise. Every time you refer to the “ad copy”, use the words “ad copy”. If you are referring to a portion of the ad copy, refer to the [subpart] of the ad copy.

As a human being, I do not know how to follow this series of instructions, in particular line 4. I don’t understand how the 18 things you are asking for relate to either the ads or ad copy. Do you want 8 headline/description pairs, and two extra headlines without descriptions? 18 unrelated things? I don’t know what the list is in line 6.

Since these relationships aren’t specified, GPT must make decisions on its own as to how these concepts relate to each other, or if they are even related. So for example, it may understand that the ads are in {language}, but not the ad copy or the headlines, which may or may not be related to each other.

3 Likes

Excellent advise. Linguistics, especially grammar and semantics, are crucial in natural language programming. Using specific and precise language not only enhances the quality of the results but also reduces the statistical variation in the output. Minimizing the solution space available to the model by correct language use gives greater accuracy in the resulting completion.