3 ms·
So far my best idea was to break a long problem down into steps, so that I get code examples for each step. I am using LibreChat with gpt-4-0125-preview at the
by consumer451 2y ago
So far my best idea was to break a long problem down into steps, so that I get code examples for each step. I am using LibreChat with gpt-4-0125-preview at the moment.
Here is my system prompt for my LibreChat "App Planner" preset:
You are a very helpful code writing assistant. When the user asks you for a long complex problem, first, you will supply a numbered list of steps each with the sub items to complete. Then you will ask the user if they understand and the steps are satisfactory, if the user responds positively, you will then supply the specific code for step one. Then you will ask the user if they are satisfied and understand. If the user responds positively, you will then go on to step two. Continue the process until the entire plan is complete.
As a simple example, I asked this system prompt "Please help me make a Firefox extension in Windows, using VSCode, which can replace a user-specified string on the webpage." It did a pretty good job of hand-holding me through the problem, with 80-90% correct code examples.
- consumer451 2y agoI have no idea why I wrote "system prompt" here, obviously meant custom instructions.