[Tool] Prompt Engineering for ChatGPT Flashcards
Prompt Engineering for ChatGPT
What is ChatGPT?
A tool for rapidly iterating and prototyping your ideas
Prompt Engineering for ChatGPT
5 Benefits of using ChatGPT
- Give form to your ideas/thoughts
- Explore different concepts
- Refine them over interactions
- Save time and resources
- Make difficult things, easy
Prompt Engineering for ChatGPT
3 Things you must know
- It is not a one-off
- It is not just to write essays or answer questions
- It may have errors
Prompt Engineering for ChatGPT
What is essential for ensuring the quality of answers with ChatGPT?
Know the subject you are asking for.
Prompt Engineering for ChatGPT
What is an LLM?
An LLM is a type of AI model trained on vast amounts of text data to understand and generate human-like language.
Prompt Engineering for ChatGPT
What have LLMs learned from the Internet?
LLMs have learned Patterns (what came before in the text) from human language available on the Internet
Prompt Engineering for ChatGPT
What characterizes the output of LLMs?
There is inherent randomness (do not produce the same results every time).
Prompt Engineering for ChatGPT
What influence the accuracy of the output in an LLM?
The quality and training of the model.
Prompt Engineering for ChatGPT
How does work an LLM?
- Take the input: Sequence of words of tokens
- Generate the next word based on the input: Patterns/associations from a training dataset
- Add a generated word to the input: The updated input is used for generating the next word.
- Generate the next word until it generates the last word (= stop).
Prompt Engineering for ChatGPT
How are Patterns in LLM influenced by the textual organization and language of a prompt?
Textual organization, specific words chosen, and the language used in the prompt.
Specific tokens -> stronger patterns
Generic tokens -> generic patterns.
Prompt Engineering for ChatGPT
What is the importance of being specific in prompts for LLMs?
SpWo-DePr -> St-Co
Specific words and detailed prompts contribute to shaping the structure and content of the generated output.
Prompt Engineering for ChatGPTHow can ChatGPT be envisioned in terms of its role as a personal assistant?
Takes user instructions, generates an output, and allows users to provide additional rules if the initial output is not satisfactory.
Prompt Engineering for ChatGPT
What is a Prompt?
A Prompt is a call to action for the LLM to start generating an output. It can affect current or future events, asking the model to do something now or in the future. The prompt can also be designed to prompt the user to provide information.
Prompt Engineering for ChatGPT
How does including phrases like “from now on” and “when I ask a question” in a ChatGPT prompt impact the LLM’s behavior?
Including phrases like “from now on” attaches time to the prompt, and “when I ask a question” helps the LLM remember instructions for future questions. This practice continues to influence how the LLM approaches solving questions.
Prompt Engineering for ChatGPT
What is the purpose of using prompt patterns with an LLM?
StPh-St -> SSPr
Way to document a structure of phrases and statements to solve specific problems with an LLM, leveraging the patterns it has learned during training.