Search This Blog

Showing posts with label Prompt engineering. Show all posts
Showing posts with label Prompt engineering. Show all posts

Wednesday, January 8, 2025

Mastering Prompt Engineering - CREATE formula

CREATE Prompt Formula

If you’re looking to maximize your interaction with ChatGPT/Gemini or any other language model out there and extract the most useful information from it, you’ve come to the right place. I’ve discovered an effective framework with the help of PMI of course “The CREATE framework”, which stands for Character, Request, Examples, Adjustments&Constraints, Types of Output, Evaluation&Steps.

AI Generated image by Chat GPT

Image Credits: ChatGPT 

CREATE formula is a more elaborate and customized version of the RTFS formula ( refer to my blog on RTFS ) providing a more comprehensive framework where we can give specific instructions to the language model to provide an output close to expectations.

Here are the details of create formula followed by some examples

Component Description Example from the Prompt
Character Define the role or identity the AI needs to assume in order to complete the task effectively. "You are a meticulous project manager, specializing in managing renovations and construction within healthcare facilities."
Request Clearly state the task or objective that the AI is expected to perform. "Analyze and identify potential risks in transforming a software architecture to optimize the traffic flow."
Examples Share relevant examples, case studies, or templates that help the AI understand the task in context. "Tables and templates from previous projects showing risks such as delays, cost overruns, and operational challenges have been uploaded to guide risk identification."
Adjustments & Constraints Outline any specific conditions or limitations that should be considered in the AI's response. "Ensure compliance with security and gdpr regulations and account for technical constraints while creating the risks."
Types of Output Define the desired format or structure for the AI's response. "Present the risk assessment in a tabular format, with clear categorization of each risk."
Evaluation & Steps Clarify additional checks or steps the AI should follow to ensure accuracy, completeness, and effectiveness of the response. "Ensure all identified risks are relevant, consider regulations, and validate risk mitigation strategies to ensure they are actionable and realistic for the project."

Below is an example of a prompt using CREATE format 

Character: You’re a seasoned project manager with experience in software development.
Request: Generate a comprehensive project timeline for an upcoming software development project,
including key phases, deliverables, and deadlines.
Examples: The project involves four main phases: planning, development, testing and production deployment. Key milestones include project kickoff, completion of wireframes, alpha release, and final
product delivery.
Adjustments and constraints: Ensure that the timeline accounts for buffers for unexpected delays
Types of output: Provide the timeline in Gantt-chart format, clearly indicating the duration of each
phase and milestone
Evaluation and steps: Evaluate the timeline based on its alignment with project objectives, feasibility, and potential risks. Break down the task into steps such as gathering project requirements, drafting the
timeline, and reviewing for accuracy.

Conclusion

In the age of AI, it is very important to realize the need to adopt to the new tools being developed nearly every day, thanks to AI. One of the fundamentals is to understand how to prompt and to keep a few formulas handy and to reuse them for all your project management needs and work smarter. 

Thursday, January 2, 2025

Prompt Engineering and Project Management


Introduction

AI has revolutionized many industries, and project management is no exception. It's essential to understand how AI can serve as a powerful tool in our daily lives. When applied effectively, AI has the potential to be a game-changer for project managers. In the future, the workforce will be divided into those who can harness the power of AI and those who cannot. Therefore, it’s crucial to embrace AI's benefits to stay ahead.

AI won’t replace jobs but will change the type of tasks humans perform. We’ll see more human involvement in roles requiring creativity and personal interaction, leaving repetitive and automated tasks to AI. In this evolving landscape, mastering AI tools can help us focus on the more strategic and meaningful aspects of our work.

Understanding Prompts

Prompts are the instructions or questions you provide to AI chatbots, enabling them to generate responses tailored to your needs. Whether you're using tools like ChatGPT, Perplexity, or Gemini, learning the art of crafting prompts, or "prompt engineering," is vital for getting the best results.
When interacting with chatbots, one rule stands true: **Garbage In, Garbage Out.** The more refined and clear your prompts are, the more accurate and customized the AI's output will be. This makes it critical to follow certain principles when constructing your prompts.
What Is Prompt Engineering?
Prompt engineering is an essential skill that involves carefully designing, testing, and refining prompts to guide AI models toward producing accurate, relevant, and useful outcomes. Mastering this process can optimize your workflows, increase productivity, and enhance project success. Several strategies are key to effective prompt engineering:
- Crafting precise and structured prompts
- Providing relevant context
- Setting an appropriate tone
- Including examples
- Continuously experimenting and refining your prompts
- Understanding the audience
- Using clear, concise language
- Adding structure and reliability checks

In this blog, I'll break down the basics of writing prompts that will help you achieve more customized outputs. These elements are essential to ensure AI delivers responses that meet your expectations:

- Be specific about what you need
- Define the tone of the output
- Include examples for reference
- Experiment and refine with follow-up prompts
- Ensure clarity
- Provide clear context

Now, let's dive into a simple yet effective formula for crafting prompts.

The RTFS Formula



One of the most commonly used and straightforward prompt structures is the RTFS formula, which stands for Role, Task, Format, Source.
- Role: Define the role the AI should assume to guide its response.
- Task: Clearly state the task you want the AI to perform.
- Format: Specify the format you need for the output, which helps in customizing the results to your liking.
- Source: If applicable, mention specific sources the AI should consider when generating the response. This is especially crucial in enterprise settings, where internal resources may be necessary.


Example Prompt Using RTFS Formula Here’s an example of how to use the RTFS formula in practice:

- Role: You are an experienced project manager specializing in Tourism and Travel IT.
- Task: Identify potential risks in project XYZ for developing an automated check-in counter at the airport, considering factors such as delays, budget overruns, traveler feedback, and uninterrupted operations.
- Format: Provide the risks in a table format, creating a risk register.
- Source: Use "Project Solution Details" as the primary reference (this could be an internal document or webpage) and also refer to external internet-based information for similar projects.