Stefan Scortescu shares a concise post and quick tips on prompts for ChatGPT.
Getting consistent results from ChatGPT can be a challenge. You can get more consistency with Custom GPTs – a great tool to standardize repetitive GPT tasks. However, writing good CustomGPTs isn’t trivial either.
I’ve recently started playing around with prompts-as-code. It’s a way to write prompts structured similarly to ChatGPT’s training data format (likely to be JSON).
A dummy example of a prompt-as-code looks something like:
{
“task”: “Determine if a company is B2B or B2C”,
“steps”:
[ “1. Identify target customers”,
“2. Evaluate sales channels”,
“3. Assess product/service type” ]
}
Because the structure separates instruction types (e.g. task, steps) and instruction themselves (e.g. step1, step2, etc.), and the format looks so much like it’s training data, ChatGPT treats them (sort of) like a program to execute.
I’ve created a CustomGPT that can create custom instructions for you, starting from a task description. You can use the result in a regular ChatGPT conversation, or you can pop them into another custom GPT and start cranking out results.
Access the post: https://www.linkedin.com/posts/scortescu_chatgpt-activity-7228998204015443968-OGt7?utm_source=share&utm_medium=member_desktop
