31 Oct 2024, 17:58

@jeffreyrb03-gmail

The ChatGPT API you use is the same as the one running on https://chatgpt.com/, except there are additional moderations on its input and output.

You are dealing with a very complex task, so it will take some efforts to get the prompt right.

Here are some suggestions worth trying:

  1. You have a few “train” blocks, which essentially just give ChatGPT some additional system prompts. It is strongly recommended that all of them be combined into one longer prompt instead of having a few pieces. The reason is that each time you send a system request, ChatGPT will generate a response, and you are ignoring those responses.

be34838f-2524-497b-a831-c325bd2d7bbc-image.png

 
As explained in our tutorials, it is much better to use a text editor (like the comment box or just any text editor), write the entire prompt in there, and then copy it into the ChatGPT block.

  1. You are trying to teach it to do quite a few things. Usually it is better to write the examples as dialogs:

user: …
you: …
user: …
you: …

This is much easier for ChatGPT to understand

  1. Please make sure the prompts are self-explanatory. For example, this part is not very clear: “Now make sure to remember your variables”. Since these are special tools for callback, not really “variables”, right?

  2. Since you are composing a super long prompt, it is better to have sections with headers, such as these:

<Overview>

<Tools you can callback>

<Current Task>
  1. Start simple and try to add more. For example, make sure “CALC” is working fine, then add one more tool, then add another one. This will allow you to catch any issues early on. Currently, it doesn’t work for CALC yet:

1b94bcec-031a-455a-8822-90b44318d45b-image.png