Skip to main content

Open AI ChatGPT Prompt Engineering

 Open AI ChatGPT Prompt Engineering



source: https://www.udemy.com/course/ultimate-chatgpt-course-for-beginners



Temperature

Temperature controls the randomness of the AI's response and the temperature range goes from 0 to 2. The higher, the more random your response is going to be. So if you set a high temperature like 1.8, your AI is going to become really wild and throw some unexpected and creative outputs out there. But if you go for a lower temperature setting of maybe 0.2, it's going to play more safe and sticking to the most likely responses. Remember, going back to the previous video in the course, when it comes to understanding how ChatGPT actually works, it's based on predicting what the next word is going to be. So higher temperatures means it gets more creative in predicting the next word. Let's take a look at this in action. So I've opened up a new chat. I'm going to tell ChatGPT use temperature 0.2 in our conversation. And you can see, of course, using a temperature 0.2 means that the response will be more focused and deterministic with less randomness. 

Max Tokens

Max tokens allow you to control the length of the output text, and the length of your output is measured in tokens, which include words, punctuations and spaces too. On average, for English words, one word is roughly five tokens. Now I know what you're thinking. Well, this sounds a little bit confusing. If I want ChatGPT to write me a blog post that is 500 words, why can't I just say, Hey, write me a blog post? That's 500 words. Well, you can do that. And sometimes, it will actually return a blog post not too far off 500 words. However, if you do that same thing 100 times, it's going to be more hit-and-miss than if you use a parameter of max tokens. For example, if we go over to ChatGPT and ask it to set max token limits to 2500 as remember, one word is roughly five tokens. So 2500 tokens is going to be thereabouts 500 words. You can see ChatGPT has actually acknowledged what I've asked it to do, and now I've gone ahead and asked it to write a detailed blog post on Five Tips to Stay Healthy in Summer. And I've told ChatGPT that the Post should include an introduction detail on each tip and a conclusion as well.

NLP Prompt Templates

  • Formal Tone: "Provide me with a formal explanation of..."
  • Informal Tone: "Tell me about... in a friendly and casual way"
  • Sarcastic Tone: "Give me a sarcastic take on..."
  • Empathetic Tone: "Explain... in an empathetic manner" 
  • Diplomatic Tone: "Provide a diplomatic opinion on...

ChatGPT For Students and Professionals

Presentation Scripting & Writing With Chat GPT

Brainstorming

Prompt: ChatGPT, I'm working on a presentation about [insert your topic]. Can you help me brainstorm some key points and ideas to include? {temperature: 0.8}

Presentation Outline

Prompt: ChatGPT, I'm working on a presentation about [insert your topic title]. Can you provide me with a clear outline that includes main sections and key points for each section? {temperature: 0.7}

Crafting Compelling Intros

Prompt: ChatGPT, help me write an engaging introduction for my presentation based on the exact outline you provided above. I want to captivate the audience right from the start! {temperature: 0.6}

Adding Visual Impact

Prompt: ChatGPT, I'm preparing a presentation on [insert your topic title]. Can you suggest some eye-catching visuals or multimedia elements that would enhance my slides? {temperature: 0.7}

Conclusion Generation

Prompt: Now help me write a memorable conclusion for my presentation on [insert your topic title]. I want to leave a lasting impression on my audience! {temperature: 0.6}


Improving Your Soft Skill With ChatGPT - Communication

Verbal Communication

Prompt 1: ChatGPT, can we have a conversation about [insert topic] so I can practice conveying my thoughts clearly?

Prompt 2: ChatGPT, I'm preparing for an interview for [insert job role]. Could we do a mock interview to help me practice?

Prompt 3: ChatGPT, I want to improve my public speaking. Can we practice a speech I've written about [insert topic]?

Non-verbal Communication

Prompt 1: ChatGPT, can you provide me with tips on improving my body language during presentations?

Prompt 2: ChatGPT, how can I use facial expressions more effectively while speaking in public?

Prompt 3: ChatGPT, what should I keep in mind regarding my posture and gestures during an important meeting or a job interview?

Written Communication

Prompt 1: ChatGPT, I've drafted this email [paste the email]. Could you provide feedback on how I can make it clearer and more professional?

Prompt 2: ChatGPT, can you help me to write a compelling cover letter for the position of [insert job title]?

Prompt 3: ChatGPT, I need to write a report on [insert topic]. Can you help me structure my thoughts and ideas in a coherent way?


Improving Your Soft Skill With ChatGPT - Emotional Intelligence

Self-Management

Prompt 1: ChatGPT, I'm feeling very anxious about an upcoming presentation. Can you suggest some strategies to manage this anxiety?

Prompt 2: ChatGPT, I've been feeling quite stressed lately. Can you help me come up with a daily mindfulness routine to better manage my stress?

Social Awareness

Prompt 1: ChatGPT, my friend was upset because she didn't get the job she interviewed for. How could I have better empathized with her?

Prompt 2: ChatGPT, I noticed a colleague seemed distressed at work today. What are some considerate ways I could check in with them about it?

Relationship Management

Prompt 1: ChatGPT, I had a conflict with my roommate over shared responsibilities. Can we discuss some strategies to resolve this conflict?

Prompt 2: ChatGPT, my team at work seems disconnected and communication is suffering. Can you suggest some team-building activities or strategies to improve our rapport?


Improving Your Soft Skill With ChatGPT - Decision-Making Skills

Decision-Making Skills

Prompt: ChatGPT, I need to make a decision about [insert situation]. Can you help me weigh the pros and cons?

Adaptability and Flexibility

Prompt 1: ChatGPT, I am struggling with a change in my life/work [describe the change]. Can you provide some strategies for better handling this change?

Prompt 2: ChatGPT, I have this new responsibility [describe the responsibility]. Can you suggest ways I can adapt to this change?

Leadership and Teamwork Skills

Prompt 1: ChatGPT, I'm leading a project on [insert topic]. Can you suggest some effective leadership strategies?

Prompt 2: ChatGPT, I'm part of a team working on [insert topic]. How can I contribute positively to the team dynamic?

Time Management

Prompt 1: ChatGPT, I have a lot to do this week. Can you help me set up a time management plan?

Prompt 2: ChatGPT, I always feel rushed. Can you provide me with some time management tips?


Summarize Documents With ChatGPT

Free Version

Alright, so if you're on a budget and rocking the free version of Chat GPT, don't worry, you can still get some pretty nifty summarization done.

Free version = 4 step process

Free Version - Step 1

Give Chat GPT some context about the document you want to summarize:

Prompt: You are a knowledgeable AI assistant, and I need you to help me summarize a [Insert what you want summarized]

Free Version - Step 2

Copy and paste.

Open the document you want to summarize and copy and paste it into the chat.

Free Version - Step 3

After setting the context, use the following prompt:

Prompt: Summarize the document in around 3-4 concise paragraphs, covering the main findings and key points.

Free Version - Step 4

Review and Refine

Once you submit the prompt, Chat GPT will start generating the summary based on the document content you provided. Review the summary and, if needed, you can iterate by refining the prompt to get the desired result.

Paid Version - Plugin

Prompt: You are a knowledgeable AI assistant. Summarize this pdf in around 3-4 concise paragraphs, covering the main findings and key points [INSERT URL]


Improving Your Hard Skills With ChatGPT - Learning and Research

Courses and Testing

Prompt 1: ChatGPT, I want to dive into [insert subject/ skill]. Which online courses or platforms are the most recommended?

Prompt 2: ChatGPT, I've been dabbling in [insert skill] for a bit now. Can you quiz me to determine my proficiency level and suggest courses accordingly?

Mapping Out Your Learning Process

Prompt 1: ChatGPT, I want to become proficient in [insert subject] within the next [insert timeframe]. Can you help me draft a study plan?

Prompt 2: While studying [subject], what are the best supplementary resources or books I should consider?

Prompt 3: ChatGPT, can we have a recap session on the [insert subject] topics I learned last week? I feel I might be forgetting some key points. [List topics]

Staying Updated and Expanding Knowledge

Prompt 1: ChatGPT, what are the latest trends in [insert subject]? Are there any new courses or certifications I should consider?

Prompt 2: ChatGPT, now that I've mastered [insert skill/subject], what complementary skills should I explore?

Prompt 3: ChatGPT, where can I find communities or forums related to [insert subject/ skill] to connect with peers and experts?


Improving Your Hard Skills With ChatGPT - Tools and Software

Microsoft Office Suite

Prompt 1: ChatGPT, can we walk through creating a [insert formula] in Excel?

Prompt 2: ChatGPT, I'm preparing a presentation in PowerPoint about [insert topic]. Can we explore design options to make it impactful?

Adobe Creative Cloud

Prompt 1: ChatGPT, I'm trying to edit a photo in Photoshop. Can you guide me on layering and blending techniques?

Prompt 2: How can I animate a logo in After Effects?

Prompt 3: Act like an expert designer with more than 10 years experience in the industry. Any tips on creating a brochure layout in InDesign?

CRM Systems

Prompt: ChatGPT, I'm attempting to [insert action/task] on [insert software/tool]. Can you guide me through the process?


Improving Your Hard Skills With ChatGPT - Debugging and Creating Code

Python

Prompt 1: ChatGPT, I'm stuck on this Python code [paste the code]. Can you help debug it?

Prompt 2: ChatGPT, can you suggest some best practices for Python coding?

Java / JavaScript

Prompt 1: ChatGPT, I'm trying to build a simple Java app. Can you guide me through object-oriented principles?

Prompt 2: ChatGPT, I'd like to create an interactive website feature using JavaScript. Can you assist?


Improving Your Hard Skills With ChatGPT - Data and Visualization

Data and Visualization

Prompt: ChatGPT, I need to visualize this dataset [describe the dataset]. Can you recommend a suitable chart type and tool to best represent the data?

Machinery

Prompt: ChatGPT, I'm having trouble with this [insert machine name] machine, [describe the issue]. Any troubleshooting tips?

Financial Budgeting and Forecasting

Prompt 1: ChatGPT, I need to prepare [insert tasks]. Can you walk me through the essentials?

Prompt 2: ChatGPT, I'd like to forecast sales for the next quarter based on these figures [provide figures]. Can you assist with a model?

Digital Marketing Tools

Prompt 1: ChatGPT, I'm new to [Insert tool name]. How can I track conversions?

Prompt 2: ChatGPT, I'd like to set up a PPC campaign on Google Ads. Can you guide me?


Translation with ChatGPT

Translation Prompts

Prompt 1: Act like a native [insert country] speaker. Translate this sentence from [insert language] to [insert language], using a formal tone: [insert sentence]

Prompt 2: I want to impress my friends with a cool [insert language] phrase. Act like a native [insert language]. Can you translate this for me? [insert sentence]

Prompt 3: I'm working on a multilingual project and need to translate these technical terms accurately in [insert language]: [insert terms]

ChatGPT For Social Media

Creating Social Media Posts

Brainstorming Content Ideas

Prompt: Pretend you are an expert copywriter with 20 years of experience, who manages social media marketing campaigns. Using the information below and use everything you know about [Insert Topic] to come up with 10 social media content ideas I can post. Suggest 5 relevant hashtags I can use for each one and also explain why you think this post will work well. Add your answers in a table with three columns: post details with hashtags, image details, and lastly reasoning. [Insert business information]

1 = 10 Strategy

Prompt: Pretend you are an expert copywriter with 20 years of experience, who manages social media marketing campaigns. Speak in an active tone. Using the information below and use everything you know about [Insert content topic] to come up with 10 social media posts that I can publish where I talk about [Insert content topic].

[Insert content details] [Insert benefits of the content] Note: Add a CTA to each post which says [Pick a CTA] and a link to my content - [Insert link]

Leverage Keyword Lists

Prompt: Pretend you are an expert copywriter with 20 years of experience, who manages social media marketing campaigns. Using the keywords below, suggest 1 social media post for each of the keywords. Each social media post must link to the corresponding blog post for each post with a call to action of “Learn More”. Make sure the posts are unique and leverage your copywriting skills to get people to click on the CTA. Suggest 5 relevant hashtags I can use for each one. [Insert keyword lists with URLs]

Creating Longer Form Content (Twitter/ X)

Prompt: Pretend you are an expert copywriter with 20 years of experience, who manages social media marketing campaigns. I want to publish a 5-part Twitter thread about [insert topic]. In the fifth part, I want you to link to my [content type] linked below which shows [Insert what it shows and who it's targeted at]. Link: [Insert content link]. Suggest a clickbait 5-part Twitter thread about [Insert topic] where each part shows [insert audience type] how [Insert topic].


Creating Content Calendars

Creating A Content Calendar

To be used in the same chat channel as the posts creation

Prompt: Pretend you are a social media marketing manager who has studied the best times to post across [Insert social platforms]. Create me a social media content calendar so I can plan out when and what platform I should post these on to get the best traction and response. I only want to post on weekdays. I want my posts to be varied in intent and never have two similar posts going out the day after each other. Do not re-write the posts. Include the ones you wrote above in this content schedule. Create the calendar in a table.

To be used in a new chat with no previous posts conversation

Prompt: Pretend you are a social media marketing manager who has studied the best times to post across [Insert social platforms]. Create me a social media content calendar so I can plan out when and what platform I should post these on to get the best traction and response. I only want to post on weekdays. I want my posts to be varied in intent and never have two similar posts going out the day after each other. Use the below posts for the content schedule, do not re-write them in any way. Create the calendar in a table.

[Insert posts]


Create Custom Images For Your Posts In Bulk

Create Custom Images For Your Posts In Bulk

Prompt: Create me a list of 20 things someone may not know about [Insert topic].


Responding To Comments

Responding To Comments

Prompt: Pretend you're an expert [what you post about] and have 10 years of experience in customer relations. I am going to send you questions/responses that my followers reply with to my social media posts. If I send you their name, what my post said, and what they responded with, are you able to create a response on behalf of me?

Some key things that I want to see in all responses:

  • Replies should directly address the person's question/response and not circle around it.
  • All replies should be concise and not waffle.
  • If you are unsure what to reply with say "[Insert your name] can you handle this one?"
  • There are no mentions of "Hello name" or "kind regards" at the start and end of responses.

Confirm you understand.


Optimizing Your LinkedIn Profile Using ChatGPT

Optimizing LinkedIn Profile

Prompt 1: What are the best practices for LinkedIn profile pages?

Prompt 2: Below is my LinkedIn profile, I want you to analyze it and compare it to the best practices and let me know what I can change to improve it? [Insert profile information]


Creating Custom Captions With ChatGPT

Captions That Align With Your Brand

Prompt 1: You are my Instagram marketing expert with over 10 years of experience in Instagram marketing. You will help me draft captivating Instagram captions for my post. I will be posting videos, pictures, and carousel content. The Instagram captions should be between 100-150 characters in length, have line breaks, include emojis, and include a call to action. Ask me a series of questions to better understand my business and my objectives.

Prompt 2: [Respond to ChatGPT's questions]

Prompt 3: Put these captions in a table and add another two columns, one called "Type" and one called "Image details". The type column should include what type of post this should be e.g picture, video, or carousel. The image details column should include a description of what image would work well with this post.

Image Specific Captions

Prompt: You are my Instagram marketing expert with over 10 years of experience in Instagram marketing. You will help me draft captivating Instagram captions for my post. The image I want to post shows [describe what the image shows]. Create me 10 captivating Instagram captions I can use. Ensure all captions include: [Insert your unique Instagram themes]

Comments

Popular posts from this blog

API Security

API Security source:  https://www.apisecuniversity.com/ Tools Kali Linux https://www.kali.org/ $ sudo apt update -y $ sudo apt upgrade -y $ sudo apt dist-upgrade -y $ sudo apt autoremove -y Passive API Reconnaissance Google Dorking Finds all publicly available WordPress API user directories. inurl:"/wp-json/wp/v2/users" Finds publicly available API key files. intitle:"index.of" intext:"api.txt" Finds potentially interesting API directories. inurl:"/api/v1" intext:"index of /" Finds all sites with a XenAPI SQL injection vulnerability. (This query was posted in 2016; four years later, there are currently 141,000 results.) ext:php inurl:"api.php?action=" This is one of my favorite queries. It lists potentially exposed API keys. intitle:"index of" api_key OR "api key" OR apiKey -pool GitDorking filename:swagger.json extension: .json TruffleHog $ sudo docker run -it -v "$PWD:/pwd" trufflesecurity/truf

XML Webservice (ASMX) - SOAP Request and Response Invocation logging

You are an integration developer. Eventualy you came into the state where there is nothing else you can debug, and you have to check which SOAP request it is built on the request, and which SOAP response you are getting from the server. C# XML Webservice (ASMX) - SOAP Request and Response Invocation logging In the legaccy .NET framework System.Web.Services , this means using soapExtensions to help you intersept the interaction with the webservice. This is done like so:  public class TraceExtension : SoapExtension     {         Stream oldStream;         Stream newStream;         string filename;         // Save the Stream representing the SOAP request or SOAP response into          // a local memory buffer.          public override Stream ChainStream(Stream stream)         {             oldStream = stream;             newStream = new MemoryStream();             return newStream;         }         // When the SOAP extension is accessed for the first time, the XML Web

Agile Leadership

Agile LeaderShip Reference: IPMA Reference Guide ICB4 in an Agile World https://www.ipma.world/news/ipma-reference-guide-icb4-agile-world/ 1. Perspective 1.1 Strategy Description: Change Blurred vision Agile strategy Emergent Create and adapt Giving meaning to work Key Competence Indicators Align agile teams with the organisational mission and vision Identify and exploit opportunities to influence organisational strategy Develop and ensure the ongoing validity of the business/organisational justification Determine, assess, and review critical success factors Determine, assess, and review key performance indicators Examples of Measures Reflects the mission and vision of the organisation Identifies new opportunities and threats which could alter the strategy Uses the CSFs for managing stakeholders Uses information systems for strategic performance 1.2 Governance, structures, and processes Description: Challenges Lean organisation Customer value Agile working Different structures Key Comp