Ghost Writer Toolkit

Effective Ways to Master AI Prompts

Irpan, an Indonesian writer, asks:

๐˜ž๐˜ฉ๐˜ข๐˜ต ๐˜ข๐˜ณ๐˜ฆ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ฎ๐˜ฐ๐˜ด๐˜ต ๐˜ฆ๐˜ง๐˜ง๐˜ฆ๐˜ค๐˜ต๐˜ช๐˜ท๐˜ฆ ๐˜ต๐˜ฆ๐˜ค๐˜ฉ๐˜ฏ๐˜ช๐˜ฒ๐˜ถ๐˜ฆ๐˜ด ๐˜ง๐˜ฐ๐˜ณ ๐˜ฎ๐˜ข๐˜ด๐˜ต๐˜ฆ๐˜ณ๐˜ช๐˜ฏ๐˜จ ๐˜ˆ๐˜ ๐˜ฑ๐˜ณ๐˜ฐ๐˜ฎ๐˜ฑ๐˜ต ๐˜ฆ๐˜ฏ๐˜จ๐˜ช๐˜ฏ๐˜ฆ๐˜ฆ๐˜ณ๐˜ช๐˜ฏ๐˜จ ๐˜ช๐˜ฏ ๐˜ต๐˜ฐ๐˜ฐ๐˜ญ๐˜ด ๐˜ญ๐˜ช๐˜ฌ๐˜ฆ ๐˜Š๐˜ฉ๐˜ข๐˜ต๐˜Ž๐˜—๐˜›, ๐˜Š๐˜ญ๐˜ข๐˜ถ๐˜ฅ๐˜ฆ, ๐˜ฐ๐˜ณ ๐˜Ž๐˜ฆ๐˜ฎ๐˜ช๐˜ฏ๐˜ช?

My answer:

To effectively measure app prompt engineering with AI models like ChatGPT or Gemini, four key structures can help fine-tune the best output:

  1. ๐—ฃ๐—ฒ๐—ฟ๐˜€๐—ผ๐—ป๐—ฎ: Assigning a persona (a role or profession) to the AI gives it context, enabling it to approach the response from that specific angle.

  2. ๐—˜๐—ป๐—ฑ ๐—ฅ๐—ฒ๐˜€๐˜‚๐—น๐˜: For reasoning models, clearly stating the desired end result allows the AI to deduce or reason the most appropriate path to achieve that outcome. This can lead to alternative solutions you might not have considered.

  3. ๐—ฃ๐—ฟ๐—ผ๐—ฏ๐—น๐—ฒ๐—บ ๐—™๐—ฎ๐—ฐ๐—ฒ๐—ฑ: Explaining the current problem provides context about what you've already attempted and what's preventing you from reaching the end goal. This helps the AI address the issue or suggest a different, more effective approach.

  4. ๐—™๐—ผ๐—ฟ๐—บ๐—ฎ๐˜: Guiding the AI with a specific output format (e.g., table, narrative, bullet points) and providing an example ensures the response is presented in the desired manner.

These four elementsโ€”role, end result, problem, and formatโ€”are crucial for effective prompts.

While the complexity of the prompt depends on the question's nature, a general concluding phrase like "How would you go about achieving the end result?" can give the AI freedom to think divergently, especially if your focus is solely on the outcome.

This can uncover solutions you might not have envisioned due to limited personal experience or expertise.

It's worth noting that prompt engineering is becoming less critical as AI advances in its ability to understand user intent.

However, these foundational elements will likely remain relevant to guide AI responses, even with the rise of increasingly sophisticated AI agents.

Regardless of prompt quality, remember that AI language models are probability-based predictors.

Even with instructions to avoid certain information or to fact-check, there's always a possibility of error or deviation from the prompt's exact instructions.

#software