4 ms·
Here's my personal template for semi-complex prompts: System message [A couple sentences of instructions] Example 1 - Input ## [example input 1] ##
by tikkun 3y ago
Here's my personal template for semi-complex prompts:
System message
[A couple sentences of instructions]
Example 1 - Input
##
[example input 1]
##
Example 1 - Output
##
[example output 1]
##
User message
Actual 1 - Input
##
[the thing you want it to process]
##
Actual 1 - Output
##
Fill in all the [] sections. Then hit submit. This should work pretty well. I'd suggest setting the temperature to 0 if you want more predictable responses.
I wrote up additional info here: https://llm-utils.org/My+template+for+a+semi-complex+GPT-4+prompt https://llm-utils.org/My+template+for+a+semi-complex+GPT-4+p...
I first played with GPT early 2021, and have been actively using it since mid 2022. This the method I've found to have the best tradeoff between complexity and effectiveness.
Note that I always try to zero shot it first, and I only use this method for things where zero shot fails, and where I need GPT to get right and that it's worth the effort of making a few shot prompt for.
- sagarpatil 3y agoThis is exactly how I use it too. OpenAI had a prompt guide and this was mentioned in it.