AI BLOG

What is Prompt Engineering? Study Learned by Prompt Engineers

2023-04-03

Person who needs help
Person who needs help

I would like to know Prompt Engineering!

We can help you with your concerns.

Reliability of This Article
by Our Founder/CEO&CTO Hiroyuki Chishiro

  • He has been involved in 12 years of research on real-time systems.
  • He teaches OS (Linux kernel) in English at the University of Tokyo.
  • From September 2012 to August 2013, he was a visiting researcher at the Department of Computer Science, the University of North Carolina at Chapel Hill (UNC), Chapel Hill, North Carolina, United States. He has been involved in research and development of real-time Linux in C language.
  • He has experienced in more than 15 years of programming languages: C/C++, Python, Solidity/Vyper, Java, Ruby, Go, Rust, D, HTML/CSS/JS/PHP, MATLAB, Verse (UEFN), Assembler (x64, ARM).
  • While a faculty member at the University of Tokyo, he developed the "Extension of LLVM Compiler" in C++ language and his own real-time OS "Mcube Kernel" in C language, which he published as open source on GitHub.
  • In January 2020-Present, he is CTO of Guarantee Happiness LLC, Chapel Hill, North Carolina, United States, in charge of e-commerce site development and web/social network marketing. In June 2022-Present, he is CEO&CTO of Japanese Tar Heel, Inc. in Chapel Hill, North Carolina, United States.
  • We have been engaged in disseminating useful information on AI and Crypto (Web3).
    • We have written more than 20 articles on AI including AI chatbots such as ChatGPT, Auto-GPT, Gemini (formerly Bard). He has experience in contract work as a prompt engineer, manager, and quality assurance (QA) for several companies in San Francisco, United States (Silicon Valley in the broadest sense of the word).
    • We have written more than 40 articles on cryptocurrency (including smart contract programming). He has experience as an outsourced translator of English articles on cryptocurrency into Japanese for a company in London, England.

You can learn from us.

If you would like to know the recommended job sites for AI Engineers, please click the following.

If you would like to know the recommended job sites for Prompt Engineers, please click the following.

What is Prompt Engineering?

Prompt Engineering is a study in Natural Language Processing AI (NLP AI).

Prompt Engineering embeds a description of the task you want the AI to answer in the form of a question or other input.

Prompt Engineering learns (i.e., optimizes) only the representation of the prompt, allowing you to customize (to some extent) the prompt to your liking.

Large-scale language models such as GPT-3 and GPT-4, which appeared in the 2020s, helped make Prompt Engineering famous.

These GPT models are available in an AI chatbots called ChatGPT and Auto-GPT.

In ChatGPT and Auto-GPT, prompt engineering is about text-to-text prompting.

If you would like to know more about AI chatbots, how to start and use ChatGPT, Auto-GPT, and Gemini (formerly Bard), please click the following.

In 2022, machine learning models such as DALL-E 2, Midjourney, and Stable Diffusion were released.

These models take a text prompt as input and generate an image, which can be described as prompt engineering for text-to-image prompting.

If you would like to know more about image generation AI, please click the following.

The above text generation AI by AI chatbots and image generation AI such as Stable Diffusion are called Generative AI.

If you would like to know more about Generative AI, please click the following.

7 Important Parameters of Prompt

Prompt ParametersParameter DescriptionEmail Prompt Example
Persona/RoleAssign a persona or expert role (role) corresponding to the ordered task.You are the Meeting Analysis Email Wizard, an AI skilled at converting meeting records into clear, concise next-step emails.
TaskProvide a brief summary of the tasks that need to be completed.Your task is to analyze the following meeting recordings and send an email to all attendees with relevant key points and next steps.
ContextProvide the relevant background context.Context:
This is a meeting to set company goals for 2030. We would like to structure the information so that actions can be taken in relation to each goal.
Steps to Task CompletionSpecify the specific steps required to complete the task.Be sure to do the following:
1/ Correct obvious typographical errors in the transcription.
2/ Analyze the text for major points and decisions.
Based on the results, structure the following sections:
* Key points
* Action items
* Meeting notes
Output FormatSpecify if you want the output in a particular format, style, or tone.Output the results as follows:
1/ Put "Our Goals and Next Steps for 2030" at the top.
2/ Add labels to each required section.
3/ For action items, be sure to include "[Owner] YYYY/MM/DD" next to each item.
ConstraintsEnter any constraints or requirements.Constraints:.
Do not change words from the original text in such a way that the meaning of the original text is changed, except to correct typographical errors.
GoalDescribe the goal of the output.Goal:
The final result should be easy to identify at a quick glance and to identify who is responsible for the next step.

7 important parameters and examples of prompts are listed in the table above.

The key points of the prompts are as follows.

  • At least three of the above seven parameters should be included.
  • The introduction should be followed by a colon ":", not a space " ".
  • Bullet points should be written as "*" and paragraph numbers as "1/".

NOTE: This is an example of the prompt concept, so it is not an absolute correct answer. You can arrange it in your own way!

Articles Explaining Prompt Engineering

Articles explaining prompt engineering are as follows.

Movies Explaining Prompt Engineering

Movies explaining prompt engineering are as follows.

Prompt Engineers: Engineers who Have Mastered Prompt Engineering

Prompt Engineers are engineers who have mastered prompt engineering.

Prompt Engineers improve work efficiency by effectively using AI chatbots such as ChatGPT and Auto-GPT.

In the future, prompt engineers are expected to become popular.

If you would like to know the recommended job sites for Prompt Engineers, please click the following.

Summary

We introduced Prompt Engineering, which is used in Generative AI such as ChatGPT and Auto-GPT.

Prompt Engineers who have mastered Prompt Engineering were also explained.

If you would like to know the recommended job sites for AI Engineers, please click the following.

If you would like to know the recommended job sites for Prompt Engineers, please click the following.

-AI, BLOG
-, , , ,